ControlFlowGraph.Create Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Create(IAttributeOperation, CancellationToken) |
Cria um ControlFlowGraph para o bloco |
Create(IBlockOperation, CancellationToken) |
Cria um ControlFlowGraph para o bloco |
Create(IConstructorBodyOperation, CancellationToken) |
Cria um ControlFlowGraph para o bloco |
Create(IFieldInitializerOperation, CancellationToken) |
Cria um ControlFlowGraph para o bloco |
Create(IMethodBodyOperation, CancellationToken) |
Cria um ControlFlowGraph para o bloco |
Create(IParameterInitializerOperation, CancellationToken) |
Cria um ControlFlowGraph para o bloco |
Create(IPropertyInitializerOperation, CancellationToken) |
Cria um ControlFlowGraph para o bloco |
Create(SyntaxNode, SemanticModel, CancellationToken) |
Cria um ControlFlowGraph para a raiz |
Create(IAttributeOperation, CancellationToken)
- Source:
- ControlFlowGraph.cs
- Source:
- ControlFlowGraph.cs
- Source:
- ControlFlowGraph.cs
- Source:
- ControlFlowGraph.cs
- Source:
- ControlFlowGraph.cs
Cria um ControlFlowGraph para o bloco attribute
de código executável especificado.
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
Parâmetros
- attribute
- IAttributeOperation
Operação de atributo raiz, que deve ter um pai nulo.
- cancellationToken
- CancellationToken
Token de cancelamento opcional.
Retornos
Aplica-se a
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
Cria um ControlFlowGraph para o bloco body
de código executável especificado.
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
Parâmetros
- body
- IBlockOperation
Bloco de operação raiz, que deve ter um pai nulo.
- cancellationToken
- CancellationToken
Token de cancelamento opcional.
Retornos
Aplica-se a
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
Cria um ControlFlowGraph para o bloco constructorBody
de código executável especificado.
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
Parâmetros
- constructorBody
- IConstructorBodyOperation
Operação do corpo do construtor raiz, que deve ter um pai nulo.
- cancellationToken
- CancellationToken
Token de cancelamento opcional.
Retornos
Aplica-se a
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
Cria um ControlFlowGraph para o bloco initializer
de código executável especificado.
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
Parâmetros
- initializer
- IFieldInitializerOperation
Operação do inicializador de campo raiz, que deve ter um pai nulo.
- cancellationToken
- CancellationToken
Token de cancelamento opcional.
Retornos
Aplica-se a
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
Cria um ControlFlowGraph para o bloco methodBody
de código executável especificado.
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
Parâmetros
- methodBody
- IMethodBodyOperation
Operação do corpo do método raiz, que deve ter um pai nulo.
- cancellationToken
- CancellationToken
Token de cancelamento opcional.
Retornos
Aplica-se a
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
Cria um ControlFlowGraph para o bloco initializer
de código executável especificado.
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
Parâmetros
- initializer
- IParameterInitializerOperation
Operação do inicializador de parâmetro raiz, que deve ter um pai nulo.
- cancellationToken
- CancellationToken
Token de cancelamento opcional.
Retornos
Aplica-se a
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
Cria um ControlFlowGraph para o bloco initializer
de código executável especificado.
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
Parâmetros
- initializer
- IPropertyInitializerOperation
Operação do inicializador de propriedade raiz, que deve ter um pai nulo.
- cancellationToken
- CancellationToken
Token de cancelamento opcional.
Retornos
Aplica-se a
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
Cria um ControlFlowGraph para a raiz node
do bloco de código executável especificado.
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
Parâmetros
- node
- SyntaxNode
Nó de sintaxe raiz para um bloco de código executável.
- semanticModel
- SemanticModel
Modelo semântico para a árvore de sintaxe que contém o node
.
- cancellationToken
- CancellationToken
Token de cancelamento opcional.
Retornos
Retornará nulo se GetOperation(SyntaxNode, CancellationToken) retornar nulo para o determinado node
e semanticModel
.
Caso contrário, retorna um ControlFlowGraph para o bloco de código executável.