ControlFlowGraphExtensions.GetAnonymousFunctionControlFlowGraphInScope 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 or creates a control flow graph for the given anonymousFunction
defined in
the given controlFlowGraph
or any of it's parent control flow graphs.
public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph GetAnonymousFunctionControlFlowGraphInScope (this Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph controlFlowGraph, Microsoft.CodeAnalysis.FlowAnalysis.IFlowAnonymousFunctionOperation anonymousFunction, System.Threading.CancellationToken cancellationToken = default);
static member GetAnonymousFunctionControlFlowGraphInScope : Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph * Microsoft.CodeAnalysis.FlowAnalysis.IFlowAnonymousFunctionOperation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
<Extension()>
Public Function GetAnonymousFunctionControlFlowGraphInScope (controlFlowGraph As ControlFlowGraph, anonymousFunction As IFlowAnonymousFunctionOperation, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph
Parameters
- controlFlowGraph
- ControlFlowGraph
- anonymousFunction
- IFlowAnonymousFunctionOperation
- cancellationToken
- CancellationToken
Returns
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.