Partager via


ControlFlowGraphExtensions.GetLocalFunctionControlFlowGraphInScope Méthode

Définition

Obtient ou crée un graphique de flux de contrôle pour l’élément défini dans l’élément donné localFunctioncontrolFlowGraph ou l’un des graphiques de flux de contrôle parent.

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

Paramètres

controlFlowGraph
ControlFlowGraph
localFunction
IMethodSymbol
cancellationToken
CancellationToken

Retours

S’applique à