ControlFlowGraph.Create Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Create(IAttributeOperation, CancellationToken) |
Crea un ControlFlowGraph para el bloque |
Create(IBlockOperation, CancellationToken) |
Crea un ControlFlowGraph para el bloque |
Create(IConstructorBodyOperation, CancellationToken) |
Crea un ControlFlowGraph para el bloque |
Create(IFieldInitializerOperation, CancellationToken) |
Crea un ControlFlowGraph para el bloque |
Create(IMethodBodyOperation, CancellationToken) |
Crea un ControlFlowGraph para el bloque |
Create(IParameterInitializerOperation, CancellationToken) |
Crea un ControlFlowGraph para el bloque |
Create(IPropertyInitializerOperation, CancellationToken) |
Crea un ControlFlowGraph para el bloque |
Create(SyntaxNode, SemanticModel, CancellationToken) |
Crea un ControlFlowGraph para la raíz |
Create(IAttributeOperation, CancellationToken)
- Source:
- ControlFlowGraph.cs
- Source:
- ControlFlowGraph.cs
- Source:
- ControlFlowGraph.cs
- Source:
- ControlFlowGraph.cs
- Source:
- ControlFlowGraph.cs
Crea un ControlFlowGraph para el bloque attribute
de código ejecutable determinado .
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
Operación de atributo raíz, que debe tener un elemento primario nulo.
- cancellationToken
- CancellationToken
Token de cancelación opcional.
Devoluciones
Se aplica 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
Crea un ControlFlowGraph para el bloque body
de código ejecutable determinado .
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
Bloque de operación raíz, que debe tener un elemento primario nulo.
- cancellationToken
- CancellationToken
Token de cancelación opcional.
Devoluciones
Se aplica 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
Crea un ControlFlowGraph para el bloque constructorBody
de código ejecutable determinado .
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
Operación de cuerpo del constructor raíz, que debe tener un elemento primario nulo.
- cancellationToken
- CancellationToken
Token de cancelación opcional.
Devoluciones
Se aplica 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
Crea un ControlFlowGraph para el bloque initializer
de código ejecutable determinado .
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
Operación de inicializador de campo raíz, que debe tener un elemento primario nulo.
- cancellationToken
- CancellationToken
Token de cancelación opcional.
Devoluciones
Se aplica 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
Crea un ControlFlowGraph para el bloque methodBody
de código ejecutable determinado .
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
Operación de cuerpo del método raíz, que debe tener un elemento primario nulo.
- cancellationToken
- CancellationToken
Token de cancelación opcional.
Devoluciones
Se aplica 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
Crea un ControlFlowGraph para el bloque initializer
de código ejecutable determinado .
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
Operación de inicializador de parámetro raíz, que debe tener un elemento primario nulo.
- cancellationToken
- CancellationToken
Token de cancelación opcional.
Devoluciones
Se aplica 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
Crea un ControlFlowGraph para el bloque initializer
de código ejecutable determinado .
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
Operación de inicializador de propiedad raíz, que debe tener un elemento primario nulo.
- cancellationToken
- CancellationToken
Token de cancelación opcional.
Devoluciones
Se aplica 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
Crea un ControlFlowGraph para la raíz node
del bloque de código ejecutable determinado.
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
Nodo de sintaxis raíz para un bloque de código ejecutable.
- semanticModel
- SemanticModel
Modelo semántico para el árbol de sintaxis que contiene .node
- cancellationToken
- CancellationToken
Token de cancelación opcional.
Devoluciones
Devuelve null si GetOperation(SyntaxNode, CancellationToken) devuelve null para los valores especificados node
y semanticModel
.
De lo contrario, devuelve un ControlFlowGraph para el bloque de código ejecutable.