Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
metadataTokens?
#1
Anyone ever try to use metadataTokens? [C#]

http://msdn.microsoft.com/en-us/library/ms404384.aspx

Here's the enumeration i'm using:
Code:
public enum CorTokenType {
    mdtModule                       = 0x00000000,
    mdtTypeRef                      = 0x01000000,
    mdtTypeDef                      = 0x02000000,
    mdtFieldDef                     = 0x04000000,
    mdtMethodDef                    = 0x06000000,
    mdtParamDef                     = 0x08000000,
    mdtInterfaceImpl                = 0x09000000,
    mdtMemberRef                    = 0x0a000000,
    mdtCustomAttribute              = 0x0c000000,
    mdtPermission                   = 0x0e000000,
    mdtSignature                    = 0x11000000,
    mdtEvent                        = 0x14000000,
    mdtProperty                     = 0x17000000,
    mdtModuleRef                    = 0x1a000000,
    mdtTypeSpec                     = 0x1b000000,
    mdtAssembly                     = 0x20000000,
    mdtAssemblyRef                  = 0x23000000,
    mdtFile                         = 0x26000000,
    mdtExportedType                 = 0x27000000,
    mdtManifestResource             = 0x28000000,
    mdtGenericParam                 = 0x2a000000,
    mdtMethodSpec                   = 0x2b000000,
    mdtGenericParamConstraint       = 0x2c000000,
    mdtString                       = 0x70000000,
    mdtName                         = 0x71000000,
    mdtBaseType                     = 0x72000000

}
Reply


Messages In This Thread
metadataTokens? - by AceInfinity - 04-28-2012, 10:37 PM
RE: metadataTokens? - by AceInfinity - 05-01-2012, 03:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)