Repository navigation
[Host] Fix IDE0001, IDE0300 and IDE0305 style findings - #593
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Pull Request
📖 Description
Removes the redundant namespace qualifications (IDE0001) and replaces
ToList()/ToArray()calls with collection expressions (IDE0300, IDE0305) across the host and test projects..editorconfigraises these IDE rules toerrorso they stay fixed, S1125 is suppressed insrc/GlobalSuppressions.cs, and the Reihitsu analyzer and CLI move to 1.6.0 (AngleSharp to 1.10.5, assembly version to 1.4). No behavior changes.🎫 Issues
None.
💬 Reviewer Notes
The source changes are mechanical and came from
dotnet format stylefollowed byreihitsu-format. One manual fix:SqliteTestDatabase.CreateDbContextpassesinterceptorsdirectly toAddInterceptors, because a collection expression there triggers S3220. The S1125 suppression is assembly-wide, but the file is linked only into the host project; the rule is already off in.editorconfig.📑 Test Plan
Release build with 0 warnings and 0 errors, formatter check clean, and the full solution test run passed (2621 passed, 13 skipped, 0 failed).
✅ Checklist
.squad/stack.md, and the Analyzer gate reports no diagnostic in a changed file..squad/stack.mdpasses (new or changed production code with the branch conditions its report records, line coverage overall).README.md,ARCHITECTURE.md) and the area document of every changed behavior to reflect my changes..squad/stack.mdprescribes.breaking-changeand says so in the Description.csharp.instructions.mdare followed.⏭ Next Steps
None.