Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2019-03-17 12:32:19 +0300
committerMarek Safar <marek.safar@gmail.com>2019-03-17 15:42:00 +0300
commitfc7ab5076ec4b60d57b09583e67426ad2d17fee6 (patch)
tree1de400235d308deb3ef68165c681675358d5972f /mcs/class/referencesource
parent5df1bae25d1146b213d4becac2ee88ef2a71d5ec (diff)
Adapt shared Enum
Diffstat (limited to 'mcs/class/referencesource')
-rw-r--r--mcs/class/referencesource/mscorlib/system/reflection/mdimport.cs37
1 files changed, 37 insertions, 0 deletions
diff --git a/mcs/class/referencesource/mscorlib/system/reflection/mdimport.cs b/mcs/class/referencesource/mscorlib/system/reflection/mdimport.cs
index f2f0c70edce..165f1ad99d5 100644
--- a/mcs/class/referencesource/mscorlib/system/reflection/mdimport.cs
+++ b/mcs/class/referencesource/mscorlib/system/reflection/mdimport.cs
@@ -62,6 +62,43 @@ namespace System.Reflection
Modifier = 0x40,
Sentinel = 0x41,
Pinned = 0x45,
+
+ ELEMENT_TYPE_END = 0x00,
+ ELEMENT_TYPE_VOID = 0x01,
+ ELEMENT_TYPE_BOOLEAN = 0x02,
+ ELEMENT_TYPE_CHAR = 0x03,
+ ELEMENT_TYPE_I1 = 0x04,
+ ELEMENT_TYPE_U1 = 0x05,
+ ELEMENT_TYPE_I2 = 0x06,
+ ELEMENT_TYPE_U2 = 0x07,
+ ELEMENT_TYPE_I4 = 0x08,
+ ELEMENT_TYPE_U4 = 0x09,
+ ELEMENT_TYPE_I8 = 0x0A,
+ ELEMENT_TYPE_U8 = 0x0B,
+ ELEMENT_TYPE_R4 = 0x0C,
+ ELEMENT_TYPE_R8 = 0x0D,
+ ELEMENT_TYPE_STRING = 0x0E,
+ ELEMENT_TYPE_PTR = 0x0F,
+ ELEMENT_TYPE_BYREF = 0x10,
+ ELEMENT_TYPE_VALUETYPE = 0x11,
+ ELEMENT_TYPE_CLASS = 0x12,
+ ELEMENT_TYPE_VAR = 0x13,
+ ELEMENT_TYPE_ARRAY = 0x14,
+ ELEMENT_TYPE_GENERICINST = 0x15,
+ ELEMENT_TYPE_TYPEDBYREF = 0x16,
+ ELEMENT_TYPE_I = 0x18,
+ ELEMENT_TYPE_U = 0x19,
+ ELEMENT_TYPE_FNPTR = 0x1B,
+ ELEMENT_TYPE_OBJECT = 0x1C,
+ ELEMENT_TYPE_SZARRAY = 0x1D,
+ ELEMENT_TYPE_MVAR = 0x1E,
+ ELEMENT_TYPE_CMOD_REQD = 0x1F,
+ ELEMENT_TYPE_CMOD_OPT = 0x20,
+ ELEMENT_TYPE_INTERNAL = 0x21,
+ ELEMENT_TYPE_MAX = 0x22,
+ ELEMENT_TYPE_MODIFIER = 0x40,
+ ELEMENT_TYPE_SENTINEL = 0x41,
+ ELEMENT_TYPE_PINNED = 0x45,
}
[Serializable]