System.Reflection.Metadata.SignatureTypeCode
Specifies constants that define type codes used in signature encoding.
Array = 20
Represents a generalized Array in signatures.
Boolean = 2
Represents a Boolean in signatures.
ByReference = 16
Represents managed pointers (byref return values and parameters) in signatures. It is followed in the blob by the signature encoding of the underlying type.
Byte = 5
Represents a Byte in signatures.
Char = 3
Represents a Char in signatures.
Double = 13
Represents a Double in signatures.
FunctionPointer = 27
Represents function pointer types in signatures.
Represents a generic method parameter used within a signature.
GenericTypeInstance = 21
Represents the instantiation of a generic type in signatures.
GenericTypeParameter = 19
Represents a generic type parameter used within a signature.
Int16 = 6
Represents an Int16 in signatures.
Int32 = 8
Represents an Int32 in signatures.
Int64 = 10
Represents an Int64 in signatures.
IntPtr = 24
Represents an IntPtr in signatures.
Invalid = 0
Represents an invalid or uninitialized type code. It will not appear in valid signatures.
Object = 28
Represents an Object in signatures.
OptionalModifier = 32
Represents a custom modifier applied to a type within a signature that the caller can ignore.
Pinned = 69
Represents a local variable that is pinned by garbage collector.
Pointer = 15
Represents an unmanaged pointer in signatures. It is followed in the blob by the signature encoding of the underlying type.
RequiredModifier = 31
Represents a custom modifier applied to a type within a signature that the caller must understand.
SByte = 4
Represents an SByte in signatures.
Sentinel = 65
Represents a marker to indicate the end of fixed arguments and the beginning of variable arguments.
Single = 12
Represents a Single in signatures.
String = 14
Represents a String in signatures.
SZArray = 29
Represents a single dimensional Array with a lower bound of 0.
TypedReference = 22
Represents a typed reference in signatures.
TypeHandle = 64
Precedes a type EntityHandle in signatures. In raw metadata, this is encoded as either ELEMENT_TYPE_CLASS (0x12) for reference types or ELEMENT_TYPE_VALUETYPE (0x11) for value types. This is collapsed to a single code because Windows Runtime projections can project from class to value type or vice-versa, and the raw code is misleading in those cases.
UInt16 = 7
Represents a UInt16 in signatures.
UInt32 = 9
Represents a UInt32 in signatures.
UInt64 = 11
Represents a UInt64 in signatures.
UIntPtr = 25
Represents a UIntPtr in signatures.
Void = 1
Represents Void in signatures.