CompilationWithAnalyzers.GetAnalyzerDiagnosticsAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
GetAnalyzerDiagnosticsAsync(CancellationToken) |
Restituisce la diagnostica prodotta da tutti .Analyzers |
GetAnalyzerDiagnosticsAsync(ImmutableArray<DiagnosticAnalyzer>, CancellationToken) |
Restituisce la diagnostica prodotta da specificato |
GetAnalyzerDiagnosticsAsync() |
Restituisce la diagnostica prodotta da tutti .Analyzers |
GetAnalyzerDiagnosticsAsync(CancellationToken)
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
Restituisce la diagnostica prodotta da tutti .Analyzers
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))
Parametri
- cancellationToken
- CancellationToken
Restituisce
Si applica a
GetAnalyzerDiagnosticsAsync(ImmutableArray<DiagnosticAnalyzer>, CancellationToken)
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
Restituisce la diagnostica prodotta da specificato analyzers
.
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))
Parametri
- analyzers
- ImmutableArray<DiagnosticAnalyzer>
Analizzatori di cui è necessaria la diagnostica. Tutti gli analizzatori specificati devono appartenere agli analizzatori passati al costruttore di CompilationWithAnalyzers.
- cancellationToken
- CancellationToken
Token di annullamento.
Restituisce
Si applica a
GetAnalyzerDiagnosticsAsync()
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
- Origine:
- CompilationWithAnalyzers.cs
Restituisce la diagnostica prodotta da tutti .Analyzers
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))
Restituisce
- Attributi