Skip to content

Create Roslyn Diagnostic Analyzer that makes sure SupportedDiagnostics are used only in one place #294

@heejaechang

Description

@heejaechang

no one except AnalyzerManager should call analyzer.SupportedDiagnostics to make sure we cache them and only call it once. reasoning behind it is that the SupportedDiagnostics is a metadata and we should guard us from analyzer author mis-using it by us calling it only once.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions