Click or drag to resize

DiagnosticAnalyzerAttribute Class



Place this attribute onto a type to cause it to be considered a diagnostic analyzer.
Inheritance Hierarchy
SystemAttribute
  Microsoft.CodeAnalysis.DiagnosticsDiagnosticAnalyzerAttribute

Namespace:  Microsoft.CodeAnalysis.Diagnostics
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class DiagnosticAnalyzerAttribute : Attribute

The DiagnosticAnalyzerAttribute type exposes the following members.

Constructors
  NameDescription
Public methodDiagnosticAnalyzerAttribute
Attribute constructor used to specify automatic application of a diagnostic analyzer.
Top
Properties
  NameDescription
Public propertyLanguages
The source languages to which this analyzer applies. See LanguageNames.
Top
See Also