This documentation is archived and is not being maintained.

System.Diagnostics.CodeAnalysis Namespace

Note: This namespace is new in the .NET Framework version 2.0.

The System.Diagnostics.CodeAnalysis namespace contains classes for interaction with code analysis tools. Code analysis tools are used to analyze code for conformance to coding conventions such as naming or security rules.

Public classSuppressMessageAttributeSuppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact.