다음을 통해 공유


Compilation.GetDeclarationDiagnostics(CancellationToken) 메서드

정의

기호 선언 중에 생성된 진단을 가져옵니다.

public abstract System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic> GetDeclarationDiagnostics (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeclarationDiagnostics : System.Threading.CancellationToken -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>
Public MustOverride Function GetDeclarationDiagnostics (Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of Diagnostic)

매개 변수

cancellationToken
CancellationToken

반환

적용 대상