Switching off code analysis warning for a specific method

  • Thread starter Thread starter Robin Tucker
  • Start date Start date
R

Robin Tucker

Hi,

Is it possible using an attribute (so some other mechanism) to selectively
switch off a code analysis warning on a specific method? I can only see how
to switch on or off warnings for the entire compile.

Thanks
 
I found it, something like:

[Scope:SuppressMessage("Rule Category", "Rule Id", "Justification",
"MessageId", "Scope", "Target")]
 
Back
Top