[ACCEPTED]-Explain System.Diagnostics.CodeAnalysis.SuppressMessage-static-analysis
Accepted answer
This attribute is used by Team Foundation Server's (TFS) code 8 analysis functionality to exclude code fragments 7 that would otherwise trigger warnings. You 6 can safely remove them if you're not using 5 TFS code analysis.
The attributes can be 4 added by hand or, more usually, are added 3 automatically via the Visual Studio GUI 2 when the "Suppress Message" option 1 is selected in the error list.
This attribute simply suppresses the generation 2 of the specified warning messages during 1 code analysis by TFS. No code is is excluded.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.