Partager via


ControlFlowGraph.Create Méthode

Définition

Surcharges

Create(IAttributeOperation, CancellationToken)

Crée un ControlFlowGraph pour le bloc attributede code exécutable donné .

Create(IBlockOperation, CancellationToken)

Crée un ControlFlowGraph pour le bloc bodyde code exécutable donné .

Create(IConstructorBodyOperation, CancellationToken)

Crée un ControlFlowGraph pour le bloc constructorBodyde code exécutable donné .

Create(IFieldInitializerOperation, CancellationToken)

Crée un ControlFlowGraph pour le bloc initializerde code exécutable donné .

Create(IMethodBodyOperation, CancellationToken)

Crée un ControlFlowGraph pour le bloc methodBodyde code exécutable donné .

Create(IParameterInitializerOperation, CancellationToken)

Crée un ControlFlowGraph pour le bloc initializerde code exécutable donné .

Create(IPropertyInitializerOperation, CancellationToken)

Crée un ControlFlowGraph pour le bloc initializerde code exécutable donné .

Create(SyntaxNode, SemanticModel, CancellationToken)

Crée un ControlFlowGraph pour la racine nodedu bloc de code exécutable donné .

Create(IAttributeOperation, CancellationToken)

Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs

Crée un ControlFlowGraph pour le bloc attributede code exécutable donné .

public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph Create (Microsoft.CodeAnalysis.Operations.IAttributeOperation attribute, System.Threading.CancellationToken cancellationToken = default);
static member Create : Microsoft.CodeAnalysis.Operations.IAttributeOperation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
Public Shared Function Create (attribute As IAttributeOperation, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

Paramètres

attribute
IAttributeOperation

Opération d’attribut racine, qui doit avoir un parent null.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

S’applique à

Create(IBlockOperation, CancellationToken)

Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs

Crée un ControlFlowGraph pour le bloc bodyde code exécutable donné .

public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph Create (Microsoft.CodeAnalysis.Operations.IBlockOperation body, System.Threading.CancellationToken cancellationToken = default);
static member Create : Microsoft.CodeAnalysis.Operations.IBlockOperation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
Public Shared Function Create (body As IBlockOperation, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

Paramètres

body
IBlockOperation

Bloc d’opération racine, qui doit avoir un parent null.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

S’applique à

Create(IConstructorBodyOperation, CancellationToken)

Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs

Crée un ControlFlowGraph pour le bloc constructorBodyde code exécutable donné .

public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph Create (Microsoft.CodeAnalysis.Operations.IConstructorBodyOperation constructorBody, System.Threading.CancellationToken cancellationToken = default);
static member Create : Microsoft.CodeAnalysis.Operations.IConstructorBodyOperation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
Public Shared Function Create (constructorBody As IConstructorBodyOperation, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

Paramètres

constructorBody
IConstructorBodyOperation

Opération de corps du constructeur racine, qui doit avoir un parent null.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

S’applique à

Create(IFieldInitializerOperation, CancellationToken)

Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs

Crée un ControlFlowGraph pour le bloc initializerde code exécutable donné .

public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph Create (Microsoft.CodeAnalysis.Operations.IFieldInitializerOperation initializer, System.Threading.CancellationToken cancellationToken = default);
static member Create : Microsoft.CodeAnalysis.Operations.IFieldInitializerOperation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
Public Shared Function Create (initializer As IFieldInitializerOperation, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

Paramètres

initializer
IFieldInitializerOperation

Opération d’initialiseur de champ racine, qui doit avoir un parent null.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

S’applique à

Create(IMethodBodyOperation, CancellationToken)

Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs

Crée un ControlFlowGraph pour le bloc methodBodyde code exécutable donné .

public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph Create (Microsoft.CodeAnalysis.Operations.IMethodBodyOperation methodBody, System.Threading.CancellationToken cancellationToken = default);
static member Create : Microsoft.CodeAnalysis.Operations.IMethodBodyOperation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
Public Shared Function Create (methodBody As IMethodBodyOperation, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

Paramètres

methodBody
IMethodBodyOperation

Opération de corps de méthode racine, qui doit avoir un parent null.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

S’applique à

Create(IParameterInitializerOperation, CancellationToken)

Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs

Crée un ControlFlowGraph pour le bloc initializerde code exécutable donné .

public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph Create (Microsoft.CodeAnalysis.Operations.IParameterInitializerOperation initializer, System.Threading.CancellationToken cancellationToken = default);
static member Create : Microsoft.CodeAnalysis.Operations.IParameterInitializerOperation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
Public Shared Function Create (initializer As IParameterInitializerOperation, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

Paramètres

initializer
IParameterInitializerOperation

Opération d’initialiseur de paramètre racine, qui doit avoir un parent null.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

S’applique à

Create(IPropertyInitializerOperation, CancellationToken)

Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs

Crée un ControlFlowGraph pour le bloc initializerde code exécutable donné .

public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph Create (Microsoft.CodeAnalysis.Operations.IPropertyInitializerOperation initializer, System.Threading.CancellationToken cancellationToken = default);
static member Create : Microsoft.CodeAnalysis.Operations.IPropertyInitializerOperation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
Public Shared Function Create (initializer As IPropertyInitializerOperation, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

Paramètres

initializer
IPropertyInitializerOperation

Opération d’initialiseur de propriété racine, qui doit avoir un parent null.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

S’applique à

Create(SyntaxNode, SemanticModel, CancellationToken)

Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs
Source:
ControlFlowGraph.cs

Crée un ControlFlowGraph pour la racine nodedu bloc de code exécutable donné .

public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph Create (Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, System.Threading.CancellationToken cancellationToken = default);
public static Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph? Create (Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, System.Threading.CancellationToken cancellationToken = default);
static member Create : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SemanticModel * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowGraph
Public Shared Function Create (node As SyntaxNode, semanticModel As SemanticModel, Optional cancellationToken As CancellationToken = Nothing) As ControlFlowGraph

Paramètres

node
SyntaxNode

Nœud de syntaxe racine pour un bloc de code exécutable.

semanticModel
SemanticModel

Modèle sémantique pour l’arborescence de syntaxe contenant le node.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

Retourne null si GetOperation(SyntaxNode, CancellationToken) retourne null pour le donné node et semanticModel. Sinon, retourne un ControlFlowGraph pour le bloc de code exécutable.

S’applique à