Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Support Supression attribute #45

Closed
dersteve opened this issue Jan 21, 2016 · 3 comments
Closed

Support Supression attribute #45

dersteve opened this issue Jan 21, 2016 · 3 comments
Labels

Comments

@dersteve
Copy link
Member

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.

@sharwell
Copy link
Member

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?

@dersteve
Copy link
Member Author

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

@sharwell
Copy link
Member

I filed #46 to get this addressed. 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants