Partilhar via


SyntaxReference.GetSyntaxAsync(CancellationToken) Método

Definição

Recupera o nó de sintaxe referenciado original.
Essa ação pode fazer com que uma análise recupere o nó de sintaxe.

public virtual System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxNode> GetSyntaxAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSyntaxAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxNode>
override this.GetSyntaxAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxNode>
Public Overridable Function GetSyntaxAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of SyntaxNode)

Parâmetros

cancellationToken
CancellationToken

Retornos

O nó de sintaxe referenciado original.

Aplica-se a