Share via


System.Diagnostics.CodeAnalysis Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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.

Classes

  Class Description
Public class SuppressMessageAttribute Suppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact.