![]() | AnalyzerReference Class |
Namespace: Microsoft.CodeAnalysis.Diagnostics
The AnalyzerReference type exposes the following members.
Name | Description | |
---|---|---|
![]() | AnalyzerReference | Initializes a new instance of the AnalyzerReference class |
Name | Description | |
---|---|---|
![]() | Display |
Path or name used in error messages to identity the reference.
|
![]() | FullPath |
Full path describing the location of the analyzer reference, or null if the reference has no location.
|
![]() | Id |
A unique identifier for this analyzer reference.
|
Name | Description | |
---|---|---|
![]() | GetAnalyzers |
Gets all the diagnostic analyzers defined in this assembly reference for the given language.
|
![]() | GetAnalyzersForAllLanguages |
Gets all the diagnostic analyzers defined in this assembly reference, irrespective of the language supported by the analyzer.
Use this method only if you need all the analyzers defined in the assembly, without a language context.
In most instances, either the analyzer reference is associated with a project or is being queried for analyzers in a particular language context.
If so, use GetAnalyzers(String) method.
|