Click or drag to resize

DiagnosticAnalyzer Class



The base type for diagnostic analyzers.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.DiagnosticsDiagnosticAnalyzer

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

The DiagnosticAnalyzer type exposes the following members.

Constructors
  NameDescription
Protected methodDiagnosticAnalyzer
Initializes a new instance of the DiagnosticAnalyzer class
Top
Properties
  NameDescription
Public propertySupportedDiagnostics
Returns a set of descriptors for the diagnostics that this analyzer is capable of producing.
Top
Methods
  NameDescription
Public methodEquals
Public methodGetHashCode
Public methodInitialize
Called once at session start to register actions in the analysis context.
Public methodToString
Top
See Also