Читати англійською

Поділитися через


ControlFlowBranchSemantics Enum

Definition

Semantics associated with a ControlFlowBranch.

C#
public enum ControlFlowBranchSemantics
Inheritance
ControlFlowBranchSemantics

Fields

Name Value Description
None 0

Represents a ControlFlowBranch with no associated semantics.

Regular 1

Represents a regular ControlFlowBranch from a source basic block to a non-null destination basic block.

Return 2

Represents a ControlFlowBranch to the exit block, i.e. the destination block has Exit.

StructuredExceptionHandling 3

Represents a ControlFlowBranch with special structured exception handling semantics:

  1. The source basic block is the last block of an enclosing finally or filter region.
  2. The destination basic block is null.
ProgramTermination 4

Represents a ControlFlowBranch to indicate flow transfer to the end of program execution. The destination basic block is null for this branch.

Throw 5

Represents a ControlFlowBranch generated for an IThrowOperation with an explicit thrown exception. The destination basic block is null for this branch.

Rethrow 6

Represents a ControlFlowBranch generated for an IThrowOperation with in implicit rethrown exception. The destination basic block is null for this branch.

Error 7

Represents a ControlFlowBranch generated for error cases.

Applies to

Продукт Версії
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0