This documentation is archived and is not being maintained.
System.Diagnostics.CodeAnalysis Namespace
Visual Studio 2010
The System.Diagnostics.CodeAnalysis namespace contains classes for interaction with code analysis tools. These tools are used to analyze code for conformance to coding conventions such as naming or security rules.
| Class | Description | |
|---|---|---|
![]() | ExcludeFromCodeCoverageAttribute | Specifies that the attributed code should be excluded from code coverage information. |
![]() | SuppressMessageAttribute | Suppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact. |
Show:
