Enum ContainerKind
- Namespace
- ICSharpCode.Decompiler.IL
- Assembly
- ICSharpCode.Decompiler.dll
public enum ContainerKind
Fields
DoWhile = 4
do-while-loop. The entry-point is a block that is the head of the loop body. The last block consists of a single if instruction that if true: jumps to the head of the loop body, if false: leaves the block. Only the last block is allowed to jump to the entry-point. Continue is a branch to the last block. Break is a leave.
For = 5
for-loop. The entry-point is a block consisting of a single if instruction that if true: jumps to the head of the loop body, if false: leaves the block. The last block is the increment block. Only the last block is allowed to jump to the entry-point. Continue is a branch to the last block. Break is a leave.
Loop = 1
A while-true loop. Continue is represented as branch to entry-point. Return/break is represented as leave.
Normal = 0
Normal container that contains control-flow blocks.
Switch = 2
Container that has a switch instruction as entry-point. Goto case is represented as branch. Break is represented as leave.
While = 3
while-loop. The entry-point is a block consisting of a single if instruction that if true: jumps to the head of the loop body, if false: leaves the block. Continue is a branch to the entry-point. Break is a leave.