Freigeben über


CompilationWithAnalyzers.GetAnalyzerDiagnosticsAsync Methode

Definition

Überlädt

GetAnalyzerDiagnosticsAsync(CancellationToken)

Gibt Diagnose zurück, die von allen Analyzerserzeugt werden.

GetAnalyzerDiagnosticsAsync(ImmutableArray<DiagnosticAnalyzer>, CancellationToken)

Gibt Diagnose zurück, die von angegebenen analyzerserzeugt werden.

GetAnalyzerDiagnosticsAsync()

Gibt Diagnose zurück, die von allen Analyzerserzeugt werden.

GetAnalyzerDiagnosticsAsync(CancellationToken)

Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs

Gibt Diagnose zurück, die von allen Analyzerserzeugt werden.

public:
 System::Threading::Tasks::Task<System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Diagnostic ^>> ^ GetAnalyzerDiagnosticsAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>> GetAnalyzerDiagnosticsAsync (System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>> GetAnalyzerDiagnosticsAsync (System.Threading.CancellationToken cancellationToken = default);
member this.GetAnalyzerDiagnosticsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>>
Public Function GetAnalyzerDiagnosticsAsync (cancellationToken As CancellationToken) As Task(Of ImmutableArray(Of Diagnostic))
Public Function GetAnalyzerDiagnosticsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of ImmutableArray(Of Diagnostic))

Parameter

cancellationToken
CancellationToken

Gibt zurück

Gilt für:

GetAnalyzerDiagnosticsAsync(ImmutableArray<DiagnosticAnalyzer>, CancellationToken)

Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs

Gibt Diagnose zurück, die von angegebenen analyzerserzeugt werden.

public:
 System::Threading::Tasks::Task<System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Diagnostic ^>> ^ GetAnalyzerDiagnosticsAsync(System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^> analyzers, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>> GetAnalyzerDiagnosticsAsync (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> analyzers, System.Threading.CancellationToken cancellationToken);
member this.GetAnalyzerDiagnosticsAsync : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>>
Public Function GetAnalyzerDiagnosticsAsync (analyzers As ImmutableArray(Of DiagnosticAnalyzer), cancellationToken As CancellationToken) As Task(Of ImmutableArray(Of Diagnostic))

Parameter

analyzers
ImmutableArray<DiagnosticAnalyzer>

Analysetools, deren Diagnose erforderlich sind. Alle angegebenen Analysetools müssen aus den Analysetools stammen, die an den Konstruktor von CompilationWithAnalyzersübergeben werden.

cancellationToken
CancellationToken

Abbruchtoken.

Gibt zurück

Gilt für:

GetAnalyzerDiagnosticsAsync()

Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs
Quelle:
CompilationWithAnalyzers.cs

Gibt Diagnose zurück, die von allen Analyzerserzeugt werden.

public:
 System::Threading::Tasks::Task<System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Diagnostic ^>> ^ GetAnalyzerDiagnosticsAsync();
public System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>> GetAnalyzerDiagnosticsAsync ();
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>> GetAnalyzerDiagnosticsAsync ();
member this.GetAnalyzerDiagnosticsAsync : unit -> System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>>
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
member this.GetAnalyzerDiagnosticsAsync : unit -> System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>>
Public Function GetAnalyzerDiagnosticsAsync () As Task(Of ImmutableArray(Of Diagnostic))

Gibt zurück

Attribute

Gilt für: