/*
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 {
///
/// MD table column size
///
public enum ColumnSize : byte {
/// RID into Module table
Module,
/// RID into TypeRef table
TypeRef,
/// RID into TypeDef table
TypeDef,
/// RID into FieldPtr table
FieldPtr,
/// RID into Field table
Field,
/// RID into MethodPtr table
MethodPtr,
/// RID into Method table
Method,
/// RID into ParamPtr table
ParamPtr,
/// RID into Param table
Param,
/// RID into InterfaceImpl table
InterfaceImpl,
/// RID into MemberRef table
MemberRef,
/// RID into Constant table
Constant,
/// RID into CustomAttribute table
CustomAttribute,
/// RID into FieldMarshal table
FieldMarshal,
/// RID into DeclSecurity table
DeclSecurity,
/// RID into ClassLayout table
ClassLayout,
/// RID into FieldLayout table
FieldLayout,
/// RID into StandAloneSig table
StandAloneSig,
/// RID into EventMap table
EventMap,
/// RID into EventPtr table
EventPtr,
/// RID into Event table
Event,
/// RID into PropertyMap table
PropertyMap,
/// RID into PropertyPtr table
PropertyPtr,
/// RID into Property table
Property,
/// RID into MethodSemantics table
MethodSemantics,
/// RID into MethodImpl table
MethodImpl,
/// RID into ModuleRef table
ModuleRef,
/// RID into TypeSpec table
TypeSpec,
/// RID into ImplMap table
ImplMap,
/// RID into FieldRVA table
FieldRVA,
/// RID into ENCLog table
ENCLog,
/// RID into ENCMap table
ENCMap,
/// RID into Assembly table
Assembly,
/// RID into AssemblyProcessor table
AssemblyProcessor,
/// RID into AssemblyOS table
AssemblyOS,
/// RID into AssemblyRef table
AssemblyRef,
/// RID into AssemblyRefProcessor table
AssemblyRefProcessor,
/// RID into AssemblyRefOS table
AssemblyRefOS,
/// RID into File table
File,
/// RID into ExportedType table
ExportedType,
/// RID into ManifestResource table
ManifestResource,
/// RID into NestedClass table
NestedClass,
/// RID into GenericParam table
GenericParam,
/// RID into MethodSpec table
MethodSpec,
/// RID into GenericParamConstraint table
GenericParamConstraint,
/// RID into Document table
Document = 0x30,
/// RID into MethodDebugInformation table
MethodDebugInformation,
/// RID into LocalScope table
LocalScope,
/// RID into LocalVariable table
LocalVariable,
/// RID into LocalConstant table
LocalConstant,
/// RID into ImportScope table
ImportScope,
/// RID into StateMachineMethod table
StateMachineMethod,
/// RID into CustomDebugInformation table
CustomDebugInformation,
/// 8-bit byte
Byte = 0x40,
/// 16-bit signed int
Int16,
/// 16-bit unsigned int
UInt16,
/// 32-bit signed int
Int32,
/// 32-bit unsigned int
UInt32,
/// Index into #Strings stream
Strings,
/// Index into #GUID stream
GUID,
/// Index into #Blob stream
Blob,
/// TypeDefOrRef encoded token
TypeDefOrRef,
/// HasConstant encoded token
HasConstant,
/// HasCustomAttribute encoded token
HasCustomAttribute,
/// HasFieldMarshal encoded token
HasFieldMarshal,
/// HasDeclSecurity encoded token
HasDeclSecurity,
/// MemberRefParent encoded token
MemberRefParent,
/// HasSemantic encoded token
HasSemantic,
/// MethodDefOrRef encoded token
MethodDefOrRef,
/// MemberForwarded encoded token
MemberForwarded,
/// Implementation encoded token
Implementation,
/// CustomAttributeType encoded token
CustomAttributeType,
/// ResolutionScope encoded token
ResolutionScope,
/// TypeOrMethodDef encoded token
TypeOrMethodDef,
/// HasCustomDebugInformation encoded token
HasCustomDebugInformation,
}
}