Closed dersteve closed 8 years ago
If SuppressMessage
is not working, you should probably file a bug in the dotnet/roslyn repository, since suppressions are handled entirely by the compiler itself. Do you have a specific example (code) where we can see this failing?
I just assumed it would not be working, because here [1] it talks only about the 'pragma approach'
[1] https://github.com/DotNetAnalyzers/AsyncUsageAnalyzers/blob/master/documentation/UseAsyncSuffix.md
I filed #46 to get this addressed. :smile:
At the moment there is only support for "pragma" for supression of a rule.
It would be good to be consistent and support SupressionAttribute as well.