Partilhar via


DiagnosticAnalyzerAttribute Class

Definition

Place this attribute onto a type to cause it to be considered a diagnostic analyzer.

public ref class DiagnosticAnalyzerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class DiagnosticAnalyzerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type DiagnosticAnalyzerAttribute = class
    inherit Attribute
Public NotInheritable Class DiagnosticAnalyzerAttribute
Inherits Attribute
Inheritance
DiagnosticAnalyzerAttribute
Attributes

Constructors

DiagnosticAnalyzerAttribute(String, String[])

Attribute constructor used to specify automatic application of a diagnostic analyzer.

Properties

Languages

The source languages to which this analyzer applies. See LanguageNames.

Applies to