Skip to content

Support category-based exclusions in user option for unnecessary supp…#47819

Merged
mavasani merged 5 commits intodotnet:masterfrom
mavasani:CategoryExclusions
Sep 19, 2020
Merged

Support category-based exclusions in user option for unnecessary supp…#47819
mavasani merged 5 commits intodotnet:masterfrom
mavasani:CategoryExclusions

Conversation

@mavasani
Copy link
Contributor

…ression analyzer

Fixes #47288

@mavasani mavasani added this to the 16.8.P4 milestone Sep 17, 2020
@mavasani mavasani requested review from a team, CyrusNajmabadi and jmarolf September 17, 2020 23:54
{ CodeStyleOptions2.RemoveUnnecessarySuppressionExclusions, "category: ExcludedCategory" }
};

await TestMissingInRegularAndScriptAsync(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Verified test fails before product fix.

…tractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs

Co-authored-by: David Wengier <david.wengier@microsoft.com>
@ghost
Copy link

ghost commented Sep 18, 2020

Hello @mavasani!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approval

…tractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs
@mavasani mavasani merged commit 031cd75 into dotnet:master Sep 19, 2020
@ghost ghost modified the milestones: 16.8.P4, Next Sep 19, 2020
@mavasani mavasani deleted the CategoryExclusions branch September 19, 2020 04:36
@dibarbet dibarbet modified the milestones: Next, 16.8.P4 Sep 21, 2020
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.

False Positive Warning for IDE0079 Remove Unneccessary Suppression

3 participants