ControlFlowGraphExtensions.GetLocalFunctionControlFlowGraphInScope 方法

定义

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

public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph GetLocalFunctionControlFlowGraphInScope (this Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph controlFlowGraph, Microsoft.CodeAnalysis.IMethodSymbol localFunction, System.Threading.CancellationToken cancellationToken = default);
static member GetLocalFunctionControlFlowGraphInScope : Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph * Microsoft.CodeAnalysis.IMethodSymbol * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
<Extension()>
Public Function GetLocalFunctionControlFlowGraphInScope (controlFlowGraph As ControlFlowGraph, localFunction As IMethodSymbol, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

参数

controlFlowGraph
ControlFlowGraph
localFunction
IMethodSymbol
cancellationToken
CancellationToken

返回

适用于