ControlFlowGraphExtensions.GetLocalFunctionControlFlowGraphInScope 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或建立指定或為其父控制項流程圖中所定義之指定 localFunction
controlFlowGraph
之控制項流程圖。
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