Compartir a través de


SemanticModel.GetOperation(SyntaxNode, CancellationToken) Método

Definición

Obtiene la operación correspondiente al nodo de sintaxis de expresiones o instrucciones.

public Microsoft.CodeAnalysis.IOperation GetOperation (Microsoft.CodeAnalysis.SyntaxNode node, System.Threading.CancellationToken cancellationToken = default);
public Microsoft.CodeAnalysis.IOperation? GetOperation (Microsoft.CodeAnalysis.SyntaxNode node, System.Threading.CancellationToken cancellationToken = default);
member this.GetOperation : Microsoft.CodeAnalysis.SyntaxNode * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.IOperation
Public Function GetOperation (node As SyntaxNode, Optional cancellationToken As CancellationToken = Nothing) As IOperation

Parámetros

node
SyntaxNode

Nodo de sintaxis de expresión o instrucción.

cancellationToken
CancellationToken

Un token de cancelación opcional.

Devoluciones

Se aplica a