5 #ifndef __MONO_METADATA_ROW_INDEXES_H__
6 #define __MONO_METADATA_ROW_INDEXES_H__
9 * The last entry in the enum is used to give the number
10 * of columns in the row.
14 MONO_ASSEMBLY_HASH_ALG
,
15 MONO_ASSEMBLY_MAJOR_VERSION
,
16 MONO_ASSEMBLY_MINOR_VERSION
,
17 MONO_ASSEMBLY_BUILD_NUMBER
,
18 MONO_ASSEMBLY_REV_NUMBER
,
20 MONO_ASSEMBLY_PUBLIC_KEY
,
22 MONO_ASSEMBLY_CULTURE
,
27 MONO_ASSEMBLYOS_PLATFORM
,
28 MONO_ASSEMBLYOS_MAJOR_VERSION
,
29 MONO_ASSEMBLYOS_MINOR_VERSION
,
34 MONO_ASSEMBLY_PROCESSOR
,
35 MONO_ASSEMBLY_PROCESSOR_SIZE
39 MONO_ASSEMBLYREF_MAJOR_VERSION
,
40 MONO_ASSEMBLYREF_MINOR_VERSION
,
41 MONO_ASSEMBLYREF_BUILD_NUMBER
,
42 MONO_ASSEMBLYREF_REV_NUMBER
,
43 MONO_ASSEMBLYREF_FLAGS
,
44 MONO_ASSEMBLYREF_PUBLIC_KEY
,
45 MONO_ASSEMBLYREF_NAME
,
46 MONO_ASSEMBLYREF_CULTURE
,
47 MONO_ASSEMBLYREF_HASH_VALUE
,
52 MONO_ASSEMBLYREFOS_PLATFORM
,
53 MONO_ASSEMBLYREFOS_MAJOR_VERSION
,
54 MONO_ASSEMBLYREFOS_MINOR_VERSION
,
55 MONO_ASSEMBLYREFOS_ASSEMBLYREF
,
56 MONO_ASSEMBLYREFOS_SIZE
60 MONO_ASSEMBLYREFPROC_PROCESSOR
,
61 MONO_ASSEMBLYREFPROC_ASSEMBLYREF
,
62 MONO_ASSEMBLYREFPROC_SIZE
66 MONO_CLASS_LAYOUT_PACKING_SIZE
,
67 MONO_CLASS_LAYOUT_CLASS_SIZE
,
68 MONO_CLASS_LAYOUT_PARENT
,
69 MONO_CLASS_LAYOUT_SIZE
74 MONO_CONSTANT_PADDING
,
81 MONO_CUSTOM_ATTR_PARENT
,
82 MONO_CUSTOM_ATTR_TYPE
,
83 MONO_CUSTOM_ATTR_VALUE
,
88 MONO_DECL_SECURITY_ACTION
,
89 MONO_DECL_SECURITY_PARENT
,
90 MONO_DECL_SECURITY_PERMISSIONSET
,
91 MONO_DECL_SECURITY_SIZE
95 MONO_EVENT_MAP_PARENT
,
96 MONO_EVENT_MAP_EVENTLIST
,
108 MONO_EVENT_POINTER_EVENT
,
109 MONO_EVENT_POINTER_SIZE
114 MONO_EXP_TYPE_TYPEDEF
,
116 MONO_EXP_TYPE_NAMESPACE
,
117 MONO_EXP_TYPE_IMPLEMENTATION
,
124 MONO_FIELD_SIGNATURE
,
129 MONO_FIELD_LAYOUT_OFFSET
,
130 MONO_FIELD_LAYOUT_FIELD
,
131 MONO_FIELD_LAYOUT_SIZE
135 MONO_FIELD_MARSHAL_PARENT
,
136 MONO_FIELD_MARSHAL_NATIVE_TYPE
,
137 MONO_FIELD_MARSHAL_SIZE
141 MONO_FIELD_POINTER_FIELD
,
142 MONO_FIELD_POINTER_SIZE
147 MONO_FIELD_RVA_FIELD
,
154 MONO_FILE_HASH_VALUE
,
167 MONO_INTERFACEIMPL_CLASS
,
168 MONO_INTERFACEIMPL_INTERFACE
,
169 MONO_INTERFACEIMPL_SIZE
173 MONO_MANIFEST_OFFSET
,
176 MONO_MANIFEST_IMPLEMENTATION
,
181 MONO_MEMBERREF_CLASS
,
183 MONO_MEMBERREF_SIGNATURE
,
189 MONO_METHOD_IMPLFLAGS
,
192 MONO_METHOD_SIGNATURE
,
193 MONO_METHOD_PARAMLIST
,
198 MONO_METHODIMPL_CLASS
,
199 MONO_METHODIMPL_BODY
,
200 MONO_METHODIMPL_DECLARATION
,
205 MONO_METHOD_POINTER_METHOD
,
206 MONO_METHOD_POINTER_SIZE
210 MONO_METHOD_SEMA_SEMANTICS
,
211 MONO_METHOD_SEMA_METHOD
,
212 MONO_METHOD_SEMA_ASSOCIATION
,
213 MONO_METHOD_SEMA_SIZE
217 MONO_MODULE_GENERATION
,
231 MONO_NESTED_CLASS_NESTED
,
232 MONO_NESTED_CLASS_ENCLOSING
,
233 MONO_NESTED_CLASS_SIZE
244 MONO_PARAM_POINTER_PARAM
,
245 MONO_PARAM_POINTER_SIZE
256 MONO_PROPERTY_POINTER_PROPERTY
,
257 MONO_PROPERTY_POINTER_SIZE
261 MONO_PROPERTY_MAP_PARENT
,
262 MONO_PROPERTY_MAP_PROPERTY_LIST
,
263 MONO_PROPERTY_MAP_SIZE
267 MONO_STAND_ALONE_SIGNATURE
,
268 MONO_STAND_ALONE_SIGNATURE_SIZE
274 MONO_TYPEDEF_NAMESPACE
,
275 MONO_TYPEDEF_EXTENDS
,
276 MONO_TYPEDEF_FIELD_LIST
,
277 MONO_TYPEDEF_METHOD_LIST
,
284 MONO_TYPEREF_NAMESPACE
,
289 MONO_TYPESPEC_SIGNATURE
,
294 MONO_GENERICPARAM_NUMBER
,
295 MONO_GENERICPARAM_FLAGS
,
296 MONO_GENERICPARAM_OWNER
,
297 MONO_GENERICPARAM_NAME
,
299 MONO_GENERICPARAM_SIZE
303 MONO_METHODSPEC_METHOD
,
304 MONO_METHODSPEC_SIGNATURE
,
309 MONO_GENPARCONSTRAINT_GENERICPAR
,
310 MONO_GENPARCONSTRAINT_CONSTRAINT
,
311 MONO_GENPARCONSTRAINT_SIZE
316 MONO_DOCUMENT_HASHALG
,
318 MONO_DOCUMENT_LANGUAGE
,
323 MONO_METHODBODY_DOCUMENT
,
324 MONO_METHODBODY_SEQ_POINTS
,
329 MONO_LOCALSCOPE_METHOD
,
330 MONO_LOCALSCOPE_IMPORTSCOPE
,
331 MONO_LOCALSCOPE_VARIABLELIST
,
332 MONO_LOCALSCOPE_CONSTANTLIST
,
333 MONO_LOCALSCOPE_STARTOFFSET
,
334 MONO_LOCALSCOPE_LENGTH
,
339 MONO_LOCALVARIABLE_ATTRIBUTES
,
340 MONO_LOCALVARIABLE_INDEX
,
341 MONO_LOCALVARIABLE_NAME
,
342 MONO_LOCALVARIABLE_SIZE
346 MONO_CUSTOMDEBUGINFORMATION_PARENT
,
347 MONO_CUSTOMDEBUGINFORMATION_KIND
,
348 MONO_CUSTOMDEBUGINFORMATION_VALUE
,
349 MONO_CUSTOMDEBUGINFORMATION_SIZE
354 * The _BITS entry is for the bits used in the token.
355 * The _MASK entry is for mask the index out.
359 MONO_TYPEDEFORREF_TYPEDEF
,
360 MONO_TYPEDEFORREF_TYPEREF
,
361 MONO_TYPEDEFORREF_TYPESPEC
,
362 MONO_TYPEDEFORREF_BITS
= 2,
363 MONO_TYPEDEFORREF_MASK
= 3
367 MONO_HASCONSTANT_FIEDDEF
,
368 MONO_HASCONSTANT_PARAM
,
369 MONO_HASCONSTANT_PROPERTY
,
370 MONO_HASCONSTANT_BITS
= 2,
371 MONO_HASCONSTANT_MASK
= 3
375 MONO_CUSTOM_ATTR_METHODDEF
,
376 MONO_CUSTOM_ATTR_FIELDDEF
,
377 MONO_CUSTOM_ATTR_TYPEREF
,
378 MONO_CUSTOM_ATTR_TYPEDEF
,
379 MONO_CUSTOM_ATTR_PARAMDEF
,
380 MONO_CUSTOM_ATTR_INTERFACE
,
381 MONO_CUSTOM_ATTR_MEMBERREF
,
382 MONO_CUSTOM_ATTR_MODULE
,
383 MONO_CUSTOM_ATTR_PERMISSION
,
384 MONO_CUSTOM_ATTR_PROPERTY
,
385 MONO_CUSTOM_ATTR_EVENT
,
386 MONO_CUSTOM_ATTR_SIGNATURE
,
387 MONO_CUSTOM_ATTR_MODULEREF
,
388 MONO_CUSTOM_ATTR_TYPESPEC
,
389 MONO_CUSTOM_ATTR_ASSEMBLY
,
390 MONO_CUSTOM_ATTR_ASSEMBLYREF
,
391 MONO_CUSTOM_ATTR_FILE
,
392 MONO_CUSTOM_ATTR_EXP_TYPE
,
393 MONO_CUSTOM_ATTR_MANIFEST
,
394 MONO_CUSTOM_ATTR_GENERICPAR
,
395 MONO_CUSTOM_ATTR_GENERICPARAMCONSTRAINT
,
396 MONO_CUSTOM_ATTR_BITS
= 5,
397 MONO_CUSTOM_ATTR_MASK
= 0x1F
401 MONO_HAS_FIELD_MARSHAL_FIELDSREF
,
402 MONO_HAS_FIELD_MARSHAL_PARAMDEF
,
403 MONO_HAS_FIELD_MARSHAL_BITS
= 1,
404 MONO_HAS_FIELD_MARSHAL_MASK
= 1
408 MONO_HAS_DECL_SECURITY_TYPEDEF
,
409 MONO_HAS_DECL_SECURITY_METHODDEF
,
410 MONO_HAS_DECL_SECURITY_ASSEMBLY
,
411 MONO_HAS_DECL_SECURITY_BITS
= 2,
412 MONO_HAS_DECL_SECURITY_MASK
= 3
416 MONO_MEMBERREF_PARENT_TYPEDEF
, /* not used */
417 MONO_MEMBERREF_PARENT_TYPEREF
,
418 MONO_MEMBERREF_PARENT_MODULEREF
,
419 MONO_MEMBERREF_PARENT_METHODDEF
,
420 MONO_MEMBERREF_PARENT_TYPESPEC
,
421 MONO_MEMBERREF_PARENT_BITS
= 3,
422 MONO_MEMBERREF_PARENT_MASK
= 7
426 MONO_HAS_SEMANTICS_EVENT
,
427 MONO_HAS_SEMANTICS_PROPERTY
,
428 MONO_HAS_SEMANTICS_BITS
= 1,
429 MONO_HAS_SEMANTICS_MASK
= 1
433 MONO_METHODDEFORREF_METHODDEF
,
434 MONO_METHODDEFORREF_METHODREF
,
435 MONO_METHODDEFORREF_BITS
= 1,
436 MONO_METHODDEFORREF_MASK
= 1
440 MONO_MEMBERFORWD_FIELDDEF
,
441 MONO_MEMBERFORWD_METHODDEF
,
442 MONO_MEMBERFORWD_BITS
= 1,
443 MONO_MEMBERFORWD_MASK
= 1
447 MONO_IMPLEMENTATION_FILE
,
448 MONO_IMPLEMENTATION_ASSEMBLYREF
,
449 MONO_IMPLEMENTATION_EXP_TYPE
,
450 MONO_IMPLEMENTATION_BITS
= 2,
451 MONO_IMPLEMENTATION_MASK
= 3
455 MONO_CUSTOM_ATTR_TYPE_TYPEREF
, /* not used */
456 MONO_CUSTOM_ATTR_TYPE_TYPEDEF
, /* not used */
457 MONO_CUSTOM_ATTR_TYPE_METHODDEF
,
458 MONO_CUSTOM_ATTR_TYPE_MEMBERREF
,
459 MONO_CUSTOM_ATTR_TYPE_STRING
, /* not used */
460 MONO_CUSTOM_ATTR_TYPE_BITS
= 3,
461 MONO_CUSTOM_ATTR_TYPE_MASK
= 7
465 MONO_RESOLUTION_SCOPE_MODULE
,
466 MONO_RESOLUTION_SCOPE_MODULEREF
,
467 MONO_RESOLUTION_SCOPE_ASSEMBLYREF
,
468 MONO_RESOLUTION_SCOPE_TYPEREF
,
469 MONO_RESOLUTION_SCOPE_BITS
= 2,
470 MONO_RESOLUTION_SCOPE_MASK
= 3
473 /* Kept for compatibility since this is a public header file */
475 MONO_RESOLTION_SCOPE_MODULE
,
476 MONO_RESOLTION_SCOPE_MODULEREF
,
477 MONO_RESOLTION_SCOPE_ASSEMBLYREF
,
478 MONO_RESOLTION_SCOPE_TYPEREF
,
479 MONO_RESOLTION_SCOPE_BITS
= 2,
480 MONO_RESOLTION_SCOPE_MASK
= 3
484 MONO_TYPEORMETHOD_TYPE
,
485 MONO_TYPEORMETHOD_METHOD
,
486 MONO_TYPEORMETHOD_BITS
= 1,
487 MONO_TYPEORMETHOD_MASK
= 1
490 #endif /* __MONO_METADATA_ROW_INDEXES_H__ */