/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
dnSpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with dnSpy. If not, see .
*/
// from dnlib
namespace dnSpy.Contracts.Hex.Files.DotNet {
///
/// The metadata tables
///
public enum Table : byte {
/// Module table (00h)
Module,
/// TypeRef table (01h)
TypeRef,
/// TypeDef table (02h)
TypeDef,
/// FieldPtr table (03h)
FieldPtr,
/// Field table (04h)
Field,
/// MethodPtr table (05h)
MethodPtr,
/// Method table (06h)
Method,
/// ParamPtr table (07h)
ParamPtr,
/// Param table (08h)
Param,
/// InterfaceImpl table (09h)
InterfaceImpl,
/// MemberRef table (0Ah)
MemberRef,
/// Constant table (0Bh)
Constant,
/// CustomAttribute table (0Ch)
CustomAttribute,
/// FieldMarshal table (0Dh)
FieldMarshal,
/// DeclSecurity table (0Eh)
DeclSecurity,
/// ClassLayout table (0Fh)
ClassLayout,
/// FieldLayout table (10h)
FieldLayout,
/// StandAloneSig table (11h)
StandAloneSig,
/// EventMap table (12h)
EventMap,
/// EventPtr table (13h)
EventPtr,
/// Event table (14h)
Event,
/// PropertyMap table (15h)
PropertyMap,
/// PropertyPtr table (16h)
PropertyPtr,
/// Property table (17h)
Property,
/// MethodSemantics table (18h)
MethodSemantics,
/// MethodImpl table (19h)
MethodImpl,
/// ModuleRef table (1Ah)
ModuleRef,
/// TypeSpec table (1Bh)
TypeSpec,
/// ImplMap table (1Ch)
ImplMap,
/// FieldRVA table (1Dh)
FieldRVA,
/// ENCLog table (1Eh)
ENCLog,
/// ENCMap table (1Fh)
ENCMap,
/// Assembly table (20h)
Assembly,
/// AssemblyProcessor table (21h)
AssemblyProcessor,
/// AssemblyOS table (22h)
AssemblyOS,
/// AssemblyRef table (23h)
AssemblyRef,
/// AssemblyRefProcessor table (24h)
AssemblyRefProcessor,
/// AssemblyRefOS table (25h)
AssemblyRefOS,
/// File table (26h)
File,
/// ExportedType table (27h)
ExportedType,
/// ManifestResource table (28h)
ManifestResource,
/// NestedClass table (29h)
NestedClass,
/// GenericParam table (2Ah)
GenericParam,
/// MethodSpec table (2Bh)
MethodSpec,
/// GenericParamConstraint table (2Ch)
GenericParamConstraint,
/// (Portable PDB) Document table (30h)
Document = 0x30,
/// (Portable PDB) MethodDebugInformation table (31h)
MethodDebugInformation,
/// (Portable PDB) LocalScope table (32h)
LocalScope,
/// (Portable PDB) LocalVariable table (33h)
LocalVariable,
/// (Portable PDB) LocalConstant table (34h)
LocalConstant,
/// (Portable PDB) ImportScope table (35h)
ImportScope,
/// (Portable PDB) StateMachineMethod table (36h)
StateMachineMethod,
/// (Portable PDB) CustomDebugInformation table (37h)
CustomDebugInformation,
}
}