-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
2 - ReadyArea-AnalyzersBugResolution-By DesignThe behavior reported in the issue matches the current designThe behavior reported in the issue matches the current designVerified
Milestone
Description
I am trying to uses the GlobalSuppressions file to suppress a specific rule on a specific namespace on my test project, like so:
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "CC0061", Scope = "namespace", Target = "CodeCracker.Test.Design", Justification = "No need for tests to have async sufix.")]But it does not work. The diagnostic keeps being generated. The method specific works:
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "CC0061:TaskNameAsyncAnalyzer", Justification = "No need for tests to have async sufix.", Scope = "member", Target = "~M:CodeCracker.Test.Design.CopyEventToVariableBeforeFireTests.IgnoreMemberAccess")]I guess this is a bug, right?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
2 - ReadyArea-AnalyzersBugResolution-By DesignThe behavior reported in the issue matches the current designThe behavior reported in the issue matches the current designVerified