1 // 2 // Author: 3 // Jb Evain (jbevain@gmail.com) 4 // 5 // Copyright (c) 2008 - 2015 Jb Evain 6 // Copyright (c) 2008 - 2011 Novell, Inc. 7 // 8 // Licensed under the MIT/X11 license. 9 // 10 11 namespace Mono.Cecil { 12 13 public enum TokenType : uint { 14 Module = 0x00000000, 15 TypeRef = 0x01000000, 16 TypeDef = 0x02000000, 17 Field = 0x04000000, 18 Method = 0x06000000, 19 Param = 0x08000000, 20 InterfaceImpl = 0x09000000, 21 MemberRef = 0x0a000000, 22 CustomAttribute = 0x0c000000, 23 Permission = 0x0e000000, 24 Signature = 0x11000000, 25 Event = 0x14000000, 26 Property = 0x17000000, 27 ModuleRef = 0x1a000000, 28 TypeSpec = 0x1b000000, 29 Assembly = 0x20000000, 30 AssemblyRef = 0x23000000, 31 File = 0x26000000, 32 ExportedType = 0x27000000, 33 ManifestResource = 0x28000000, 34 GenericParam = 0x2a000000, 35 MethodSpec = 0x2b000000, 36 GenericParamConstraint = 0x2c000000, 37 38 Document = 0x30000000, 39 MethodDebugInformation = 0x31000000, 40 LocalScope = 0x32000000, 41 LocalVariable = 0x33000000, 42 LocalConstant = 0x34000000, 43 ImportScope = 0x35000000, 44 StateMachineMethod = 0x36000000, 45 CustomDebugInformation = 0x37000000, 46 47 String = 0x70000000, 48 } 49 } 50