Compartir a través de


CSharpCompilation.GetMethodBodyDiagnostics(CancellationToken) Método

Definición

Obtiene los diagnósticos generados durante el análisis de cuerpos de método y 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

Devoluciones

Se aplica a