共用方式為


Compilation.GetParseDiagnostics(CancellationToken) 方法

定義

取得剖析階段期間產生的診斷。

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

參數

cancellationToken
CancellationToken

傳回

適用於