//
//
//
//
// $Revision$
//
namespace Debugger.Wrappers.CorDebug
{
public enum CorElementType: uint
{
END = 0x0,
VOID = 0x1,
BOOLEAN = 0x2,
CHAR = 0x3,
I1 = 0x4,
U1 = 0x5,
I2 = 0x6,
U2 = 0x7,
I4 = 0x8,
U4 = 0x9,
I8 = 0xa,
U8 = 0xb,
R4 = 0xc,
R8 = 0xd,
STRING = 0xe,
// every type above PTR will be simple type
PTR = 0xf, // PTR
BYREF = 0x10, // BYREF
// Please use VALUETYPE. VALUECLASS is deprecated.
VALUETYPE = 0x11, // VALUETYPE
CLASS = 0x12, // CLASS
ARRAY = 0x14, // MDARRAY ... ...
TYPEDBYREF = 0x16, // This is a simple type.
I = 0x18, // native integer size
U = 0x19, // native unsigned integer size
FNPTR = 0x1B, // FNPTR
OBJECT = 0x1C, // Shortcut for System.Object
SZARRAY = 0x1D, // Shortcut for single dimension zero lower bound array
// SZARRAY
// This is only for binding
CMOD_REQD = 0x1F, // required C modifier : E_T_CMOD_REQD
CMOD_OPT = 0x20, // optional C modifier : E_T_CMOD_OPT
// This is for signatures generated internally (which will not be persisted in any way).
INTERNAL = 0x21, // INTERNAL
// Note that this is the max of base type excluding modifiers
MAX = 0x22, // first invalid element type
MODIFIER = 0x40,
SENTINEL = 0x01 | MODIFIER, // sentinel for varargs
PINNED = 0x05 | MODIFIER,
}
}