From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:.NET metadata (ECMA-335)" |
|---|
| claim | "Metadata table ids (the top byte of a token): 0x00 Module, 0x01 TypeRef, 0x02 TypeDef, 0x04 Field, 0x06 MethodDef, 0x08 Param, 0x09 InterfaceImpl, 0x0A MemberRef, 0x0B Constant, 0x0C CustomAttribute, 0x11 StandAloneSig, 0x14 Event, 0x17 Property, 0x1A ModuleRef, 0x1B TypeSpec, 0x1C ImplMap, 0x20 Assembly, 0x23 AssemblyRef, 0x27 ExportedType, 0x28 ManifestResource, 0x2A GenericParam, 0x2B MethodSpec, 0x2C GenericParamConstraint, Portable PDB tables 0x30-0x37; 0x70 is not a table but the user-string token prefix." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:.NET metadata (ECMA-335)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "MetadataTable" |
|---|
| underlying_type | "uint8" |
|---|
| values | | Module | 0 |
|---|
| TypeRef | 1 |
|---|
| TypeDef | 2 |
|---|
| FieldPtr | 3 |
|---|
| Field | 4 |
|---|
| MethodPtr | 5 |
|---|
| MethodDef | 6 |
|---|
| ParamPtr | 7 |
|---|
| Param | 8 |
|---|
| InterfaceImpl | 9 |
|---|
| MemberRef | 10 |
|---|
| Constant | 11 |
|---|
| CustomAttribute | 12 |
|---|
| FieldMarshal | 13 |
|---|
| DeclSecurity | 14 |
|---|
| ClassLayout | 15 |
|---|
| FieldLayout | 16 |
|---|
| StandAloneSig | 17 |
|---|
| EventMap | 18 |
|---|
| EventPtr | 19 |
|---|
| Event | 20 |
|---|
| PropertyMap | 21 |
|---|
| PropertyPtr | 22 |
|---|
| Property | 23 |
|---|
| MethodSemantics | 24 |
|---|
| MethodImpl | 25 |
|---|
| ModuleRef | 26 |
|---|
| TypeSpec | 27 |
|---|
| ImplMap | 28 |
|---|
| FieldRVA | 29 |
|---|
| ENCLog | 30 |
|---|
| ENCMap | 31 |
|---|
| Assembly | 32 |
|---|
| AssemblyProcessor | 33 |
|---|
| AssemblyOS | 34 |
|---|
| AssemblyRef | 35 |
|---|
| AssemblyRefProcessor | 36 |
|---|
| AssemblyRefOS | 37 |
|---|
| File | 38 |
|---|
| ExportedType | 39 |
|---|
| ManifestResource | 40 |
|---|
| NestedClass | 41 |
|---|
| GenericParam | 42 |
|---|
| MethodSpec | 43 |
|---|
| GenericParamConstraint | 44 |
|---|
| Document | 48 |
|---|
| MethodDebugInformation | 49 |
|---|
| LocalScope | 50 |
|---|
| LocalVariable | 51 |
|---|
| LocalConstant | 52 |
|---|
| ImportScope | 53 |
|---|
| StateMachineMethod | 54 |
|---|
| CustomDebugInformation | 55 |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Table enum" |
|---|
| repo | "https://github.com/0xd4d/dnlib" |
|---|
| commit | "9ab9b58ab31b99b3f6cdef36efec613fc11ddbe2" |
|---|
| path | "src/DotNet/MD/Table.cs" |
|---|
| lines | "7-115" |
|---|
|
| type | "documentation" |
|---|
| detail | "ECMA-335 II.22 table numbers; Portable PDB spec tables 0x30-0x37" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | | "Format:.NET metadata (ECMA-335)/Tables" |
|
|---|
| key | "Metadata tables" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T15:23:45.935Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:10:58.893Z" |
|---|
| summary | "All 53 values checked against dnlib's Table enum: 0x00-0x2C and Portable PDB 0x30-0x37 match (dnlib names 0x06 'Method'; the fact uses the ECMA-335 name MethodDef). The enum has no more members: set…" |
|---|
| changed | |
|---|
|
|
|---|