ControlFlowGraphExtensions.GetLocalFunctionControlFlowGraphInScope Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or creates a control flow graph for the given localFunction
defined in
the given controlFlowGraph
or any of it's parent control flow graphs.
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
Parameters
- controlFlowGraph
- ControlFlowGraph
- localFunction
- IMethodSymbol
- cancellationToken
- CancellationToken
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.