Compilation.GetParseDiagnostics(CancellationToken) Method

Definition

Gets the diagnostics produced during the parsing stage.

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)

Parameters

cancellationToken
CancellationToken

Returns

Applies to