Поделиться через


ControlFlowGraphExtensions.GetLocalFunctionControlFlowGraphInScope Метод

Определение

Возвращает или создает граф потока управления для заданного 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

Возвращаемое значение

Применяется к