Partilhar via


Compilation.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 abstract System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic> GetMethodBodyDiagnostics (System.Threading.CancellationToken cancellationToken = default);
abstract member GetMethodBodyDiagnostics : System.Threading.CancellationToken -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>
Public MustOverride Function GetMethodBodyDiagnostics (Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of Diagnostic)

Parâmetros

cancellationToken
CancellationToken

Retornos

Aplica-se a