Partager via


FixAllContext.GetDocumentDiagnosticsAsync(Document) Méthode

Définition

Obtient tous les diagnostics dans le document donné filtré par DiagnosticIds.

public:
 System::Threading::Tasks::Task<System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Diagnostic ^>> ^ GetDocumentDiagnosticsAsync(Microsoft::CodeAnalysis::Document ^ document);
public System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>> GetDocumentDiagnosticsAsync (Microsoft.CodeAnalysis.Document document);
member this.GetDocumentDiagnosticsAsync : Microsoft.CodeAnalysis.Document -> System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>>
Public Function GetDocumentDiagnosticsAsync (document As Document) As Task(Of ImmutableArray(Of Diagnostic))

Paramètres

document
Document

Retours

S’applique à