Share via


DiagnosticAnalyzer Class

Definition

The base type for diagnostic analyzers.

public ref class DiagnosticAnalyzer abstract
public abstract class DiagnosticAnalyzer
type DiagnosticAnalyzer = class
Public MustInherit Class DiagnosticAnalyzer
Inheritance
DiagnosticAnalyzer
Derived

Constructors

Name Description
DiagnosticAnalyzer()

Properties

Name Description
SupportedDiagnostics

Returns a set of descriptors for the diagnostics that this analyzer is capable of producing.

Methods

Name Description
Equals(Object)
GetHashCode()
Initialize(AnalysisContext)

Called once at session start to register actions in the analysis context.

ToString()

Applies to