Share via


ControlFlowGraph.GetAnonymousFunctionControlFlowGraph Method

Definition

Creates a control flow graph for the given anonymousFunction.

public Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph GetAnonymousFunctionControlFlowGraph (Microsoft.CodeAnalysis.FlowAnalysis.IFlowAnonymousFunctionOperation anonymousFunction, System.Threading.CancellationToken cancellationToken = default);
member this.GetAnonymousFunctionControlFlowGraph : Microsoft.CodeAnalysis.FlowAnalysis.IFlowAnonymousFunctionOperation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
Public Function GetAnonymousFunctionControlFlowGraph (anonymousFunction As IFlowAnonymousFunctionOperation, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

Parameters

cancellationToken
CancellationToken

Returns

Applies to