Bagikan melalui


ControlFlowGraph.Create Metode

Definisi

Overload

Create(IAttributeOperation, CancellationToken)

ControlFlowGraph Membuat untuk blok attributekode yang dapat dieksekusi yang diberikan .

Create(IBlockOperation, CancellationToken)

ControlFlowGraph Membuat untuk blok bodykode yang dapat dieksekusi yang diberikan .

Create(IConstructorBodyOperation, CancellationToken)

ControlFlowGraph Membuat untuk blok constructorBodykode yang dapat dieksekusi yang diberikan .

Create(IFieldInitializerOperation, CancellationToken)

ControlFlowGraph Membuat untuk blok initializerkode yang dapat dieksekusi yang diberikan .

Create(IMethodBodyOperation, CancellationToken)

ControlFlowGraph Membuat untuk blok methodBodykode yang dapat dieksekusi yang diberikan .

Create(IParameterInitializerOperation, CancellationToken)

ControlFlowGraph Membuat untuk blok initializerkode yang dapat dieksekusi yang diberikan .

Create(IPropertyInitializerOperation, CancellationToken)

ControlFlowGraph Membuat untuk blok initializerkode yang dapat dieksekusi yang diberikan .

Create(SyntaxNode, SemanticModel, CancellationToken)

ControlFlowGraph Membuat untuk akar nodeblok kode yang dapat dieksekusi yang diberikan .

Create(IAttributeOperation, CancellationToken)

Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs

ControlFlowGraph Membuat untuk blok attributekode yang dapat dieksekusi yang diberikan .

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

Parameter

attribute
IAttributeOperation

Operasi atribut akar, yang harus memiliki induk null.

cancellationToken
CancellationToken

Token pembatalan opsional.

Mengembalikan

Berlaku untuk

Create(IBlockOperation, CancellationToken)

Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs

ControlFlowGraph Membuat untuk blok bodykode yang dapat dieksekusi yang diberikan .

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

Parameter

body
IBlockOperation

Blok operasi akar, yang harus memiliki induk null.

cancellationToken
CancellationToken

Token pembatalan opsional.

Mengembalikan

Berlaku untuk

Create(IConstructorBodyOperation, CancellationToken)

Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs

ControlFlowGraph Membuat untuk blok constructorBodykode yang dapat dieksekusi yang diberikan .

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

Parameter

constructorBody
IConstructorBodyOperation

Operasi isi konstruktor akar, yang harus memiliki induk null.

cancellationToken
CancellationToken

Token pembatalan opsional.

Mengembalikan

Berlaku untuk

Create(IFieldInitializerOperation, CancellationToken)

Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs

ControlFlowGraph Membuat untuk blok initializerkode yang dapat dieksekusi yang diberikan .

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

Parameter

initializer
IFieldInitializerOperation

Operasi inisialisasi bidang akar, yang harus memiliki induk null.

cancellationToken
CancellationToken

Token pembatalan opsional.

Mengembalikan

Berlaku untuk

Create(IMethodBodyOperation, CancellationToken)

Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs

ControlFlowGraph Membuat untuk blok methodBodykode yang dapat dieksekusi yang diberikan .

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

Parameter

methodBody
IMethodBodyOperation

Operasi isi metode akar, yang harus memiliki induk null.

cancellationToken
CancellationToken

Token pembatalan opsional.

Mengembalikan

Berlaku untuk

Create(IParameterInitializerOperation, CancellationToken)

Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs

ControlFlowGraph Membuat untuk blok initializerkode yang dapat dieksekusi yang diberikan .

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

Parameter

initializer
IParameterInitializerOperation

Operasi penginisialisasi parameter akar, yang harus memiliki induk null.

cancellationToken
CancellationToken

Token pembatalan opsional.

Mengembalikan

Berlaku untuk

Create(IPropertyInitializerOperation, CancellationToken)

Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs

ControlFlowGraph Membuat untuk blok initializerkode yang dapat dieksekusi yang diberikan .

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

Parameter

initializer
IPropertyInitializerOperation

Operasi penginisialisasi properti akar, yang harus memiliki induk null.

cancellationToken
CancellationToken

Token pembatalan opsional.

Mengembalikan

Berlaku untuk

Create(SyntaxNode, SemanticModel, CancellationToken)

Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs
Sumber:
ControlFlowGraph.cs

ControlFlowGraph Membuat untuk akar nodeblok kode yang dapat dieksekusi yang diberikan .

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

Parameter

node
SyntaxNode

Simpul sintaks akar untuk blok kode yang dapat dieksekusi.

semanticModel
SemanticModel

Model semantik untuk pohon sintaks yang berisi node.

cancellationToken
CancellationToken

Token pembatalan opsional.

Mengembalikan

Mengembalikan null jika GetOperation(SyntaxNode, CancellationToken) mengembalikan null untuk yang diberikan node dan semanticModel. Jika tidak, mengembalikan untuk blok kode yang ControlFlowGraph dapat dieksekusi.

Berlaku untuk