Partager via


ControlFlowGraphExtensions.GetAnonymousFunctionControlFlowGraphInScope Méthode

Définition

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

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

Paramètres

controlFlowGraph
ControlFlowGraph
cancellationToken
CancellationToken

Retours

S’applique à