Delen via


FixAllContext.GetProjectDiagnosticsAsync(Project) Method

Definition

Gets all the project-level diagnostics, i.e. diagnostics with no source location, in the given project filtered by DiagnosticIds.

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

Parameters

project
Project

Returns

Applies to