Table of Contents

Enum VariableKind

Namespace
ICSharpCode.Decompiler.IL
Assembly
ICSharpCode.Decompiler.dll
public enum VariableKind

Fields

DeconstructionInitTemporary = 13

Temporary variable declared in a deconstruction init section.

DisplayClassLocal = 11

Local variable that holds the display class used for lambdas within this function.

ExceptionLocal = 8

Local variable used in a catch block.

ExceptionStackSlot = 7

Variable created for exception handler.

ForeachLocal = 4

A local variable used as foreach variable.

InitializerTarget = 5

A local variable used inside an array, collection or object initializer block to denote the object being initialized.

Local = 0

A local variable.

NamedArgument = 10

Variable in BlockKind.CallWithNamedArgs

Parameter = 6

A parameter.

PatternLocal = 12

Local variable declared within a pattern match.

PinnedLocal = 1

A pinned local variable (not associated with a pinned region)

PinnedRegionLocal = 2

A pinned local variable (associated with a pinned region)

StackSlot = 9

Variable created from stack slot.

UsingLocal = 3

A local variable used as using-resource variable.