Share via


FixAllContext.DiagnosticProvider.GetDocumentDiagnosticsAsync Method

Definition

Gets all the diagnostics to fix in the given document in a FixAllContext.

public:
 abstract System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Diagnostic ^> ^> ^ GetDocumentDiagnosticsAsync(Microsoft::CodeAnalysis::Document ^ document, System::Threading::CancellationToken cancellationToken);
public abstract System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic>> GetDocumentDiagnosticsAsync (Microsoft.CodeAnalysis.Document document, System.Threading.CancellationToken cancellationToken);
abstract member GetDocumentDiagnosticsAsync : Microsoft.CodeAnalysis.Document * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.Diagnostic>>
Public MustOverride Function GetDocumentDiagnosticsAsync (document As Document, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of Diagnostic))

Parameters

document
Document
cancellationToken
CancellationToken

Returns

Applies to