ControlFlowGraphExtensions.GetAnonymousFunctionControlFlowGraphInScope 方法

定义

获取或创建给定在给定controlFlowGraph或任一父控制流图中定义的给定anonymousFunction的控制流图。

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

参数

controlFlowGraph
ControlFlowGraph
cancellationToken
CancellationToken

返回

适用于