Skip to content
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

Do not apply analyzer bulk configuration to compiler diagnostics #42132

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

mavasani
Copy link
Contributor

@mavasani mavasani commented Mar 3, 2020

IDE layer uses a special "CompilerDiagnosticAnalyzer" for reporting compiler diagnostics, which leads to analyzer bulk configuration getting applied to compiler diagnostics reported from this analyzer in the IDE. This change ensures compiler diagnostics are explicitly skipped from analyzer bulk configuration.

Fixes #42116

IDE layer uses a special "CompilerDiagnosticAnalyzer" for reporting compiler diagnostics, which leads to analyzer bulk configuration getting applied to compiler diagnostics reported from this analyzer in the IDE. This change ensures compiler diagnostics are explicitly skipped from analyzer bulk configuration.

Fixes dotnet#42116
@mavasani mavasani added this to the 16.6.P1 milestone Mar 3, 2020
@mavasani mavasani requested review from cston, jcouv and a team March 3, 2020 12:57
Copy link
Member

@agocke agocke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mavasani
Copy link
Contributor Author

mavasani commented Mar 4, 2020

Ping @dotnet/roslyn-compiler for additional review. Thanks!

@mavasani mavasani merged commit 0cd6de8 into dotnet:master Mar 4, 2020
@mavasani mavasani deleted the Issue42116 branch March 4, 2020 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dotnet_analyzer_diagnostic editorconfig setting affects compiler diagnostics in IDE
3 participants