Enum BlockKind
- Namespace
- ICSharpCode.Decompiler.IL
- Assembly
- ICSharpCode.Decompiler.dll
public enum BlockKind
Fields
ArrayInitializer = 1
Block is used for array initializers, e.g.
new int[] { expr1, expr2 }
.CallInlineAssign = 5
Block is used for using the result of a property setter inline. Example:
This is only for inline assignments to property or indexers; other inline assignments work by using the result value of the stloc/stobj instructions.Use(this.Property = value);
Constructed by TransformAssignment. Can be deconstructed using Block.MatchInlineAssignBlock().
CallWithNamedArgs = 6
Call using named arguments.
CollectionInitializer = 2
ControlFlow = 0
Block is used for control flow. All blocks in block containers must have this type. Control flow blocks cannot evaluate to a value (FinalInstruction must be Nop).
DeconstructionAssignments = 8
DeconstructionConversions = 7
InterpolatedString = 10
String interpolation using DefaultInterpolatedStringHandler.
ObjectInitializer = 3
StackAllocInitializer = 4
WithInitializer = 9