[linker] We need to mark nested types even if the declaring type isn't marked.
[mono-project.git] / mono / metadata / tokentype.h
blobbe8904c8a3ef8bd0186f4ac84c2863a8fd41d44c
1 #ifndef _MONO_METADATA_TOKENTYPE_H_
2 #define _MONO_METADATA_TOKENTYPE_H_
4 /*
5 * These tokens match the table ID except for the last
6 * three (string, name and base type which are special)
7 */
9 typedef enum {
10 MONO_TOKEN_MODULE = 0x00000000,
11 MONO_TOKEN_TYPE_REF = 0x01000000,
12 MONO_TOKEN_TYPE_DEF = 0x02000000,
13 MONO_TOKEN_FIELD_DEF = 0x04000000,
14 MONO_TOKEN_METHOD_DEF = 0x06000000,
15 MONO_TOKEN_PARAM_DEF = 0x08000000,
16 MONO_TOKEN_INTERFACE_IMPL = 0x09000000,
17 MONO_TOKEN_MEMBER_REF = 0x0a000000,
18 MONO_TOKEN_CUSTOM_ATTRIBUTE = 0x0c000000,
19 MONO_TOKEN_PERMISSION = 0x0e000000,
20 MONO_TOKEN_SIGNATURE = 0x11000000,
21 MONO_TOKEN_EVENT = 0x14000000,
22 MONO_TOKEN_PROPERTY = 0x17000000,
23 MONO_TOKEN_MODULE_REF = 0x1a000000,
24 MONO_TOKEN_TYPE_SPEC = 0x1b000000,
25 MONO_TOKEN_ASSEMBLY = 0x20000000,
26 MONO_TOKEN_ASSEMBLY_REF = 0x23000000,
27 MONO_TOKEN_FILE = 0x26000000,
28 MONO_TOKEN_EXPORTED_TYPE = 0x27000000,
29 MONO_TOKEN_MANIFEST_RESOURCE = 0x28000000,
30 MONO_TOKEN_GENERIC_PARAM = 0x2a000000,
31 MONO_TOKEN_METHOD_SPEC = 0x2b000000,
34 * These do not match metadata tables directly
36 MONO_TOKEN_STRING = 0x70000000,
37 MONO_TOKEN_NAME = 0x71000000,
38 MONO_TOKEN_BASE_TYPE = 0x72000000
39 } MonoTokenType;
41 #endif /* _MONO_METADATA_TOKENTYPE_H_ */