다음을 통해 공유


FixAllContext.DiagnosticProvider.GetProjectDiagnosticsAsync 메서드

정의

수정할 모든 프로젝트 수준 진단(예: 원본 위치가 없는 진단)을 의 지정된 프로젝트에서 FixAllContext가져옵니다.

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

매개 변수

project
Project
cancellationToken
CancellationToken

반환

적용 대상