Partilhar via


AnalyzerReference.GetAnalyzersForAllLanguages Method

Definition

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.

public:
 abstract System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^> GetAnalyzersForAllLanguages();
public abstract System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> GetAnalyzersForAllLanguages ();
abstract member GetAnalyzersForAllLanguages : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer>
Public MustOverride Function GetAnalyzersForAllLanguages () As ImmutableArray(Of DiagnosticAnalyzer)

Returns

Applies to