SemanticModel.GetOperation(SyntaxNode, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the operation corresponding to the expression or statement syntax node.
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
Parameters
- node
- SyntaxNode
The expression or statement syntax node.
- cancellationToken
- CancellationToken
An optional cancellation token.
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.