Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

System.Diagnostics.CodeAnalysis Namespace

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
Public class ExcludeFromCodeCoverageAttribute Specifies that the attributed code should be excluded from code coverage information.
Public class Supported by Portable Class Library SuppressMessageAttribute Suppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact.
© 2015 Microsoft