-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Avoid adding duplicate suppressors to the host analyzer arrays #77062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/LanguageServer/Protocol/Features/Diagnostics/DocumentAnalysisExecutor_Helpers.cs
Outdated
Show resolved
Hide resolved
...Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Extensions/ImmutableArrayExtensions.cs
Outdated
Show resolved
Hide resolved
...Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Extensions/ImmutableArrayExtensions.cs
Outdated
Show resolved
Hide resolved
src/LanguageServer/Protocol/Features/Diagnostics/DocumentAnalysisExecutor_Helpers.cs
Outdated
Show resolved
Hide resolved
src/Workspaces/Remote/ServiceHub/Services/DiagnosticAnalyzer/DiagnosticComputer.cs
Outdated
Show resolved
Hide resolved
src/Workspaces/Remote/ServiceHub/Services/DiagnosticAnalyzer/DiagnosticComputer.cs
Outdated
Show resolved
Hide resolved
There seems to be a lot of finicky range manipulation here to accomplish what seems to be a simple concept (not adding a dupe of something). I'd prefer a much simpler and more targeted approach here in line with how the rest of the code is structured. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would far prefer a simpler approach here.
48295cc
to
a0a84e3
Compare
Any possibility of a test here? |
Needs tests and manual regression validation