ControlFlowGraph.Create Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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 attribute
de 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 body
de 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 constructorBody
de 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 initializer
de 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 methodBody
de 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 initializer
de 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 initializer
de 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 node
du 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.