ControlFlowGraphExtensions.GetAnonymousFunctionControlFlowGraphInScope 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或创建给定在给定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
- anonymousFunction
- IFlowAnonymousFunctionOperation
- cancellationToken
- CancellationToken