Compartilhar via


CSharpCompilation.GetMethodBodyDiagnostics(CancellationToken) Método

Definição

Obtém o diagnóstico produzido durante a análise de corpos do método e inicializadores de campo.

public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic> GetMethodBodyDiagnostics (System.Threading.CancellationToken cancellationToken = default);
override this.GetMethodBodyDiagnostics : System.Threading.CancellationToken -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>
Public Overrides Function GetMethodBodyDiagnostics (Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of Diagnostic)

Parâmetros

cancellationToken
CancellationToken

Retornos

Aplica-se a