Partager via


CorCheckDuplicatesFor Enumeration

Specifies the metadata tokens that will be checked for duplicates.

typedef enum CorCheckDuplicatesFor {
        
    MDDupAll                    = 0xffffffff,
    MDDupENC                    = MDDupAll,
    MDNoDupChecks               = 0x00000000,
    MDDupTypeDef                = 0x00000001,
    MDDupInterfaceImpl          = 0x00000002,
    MDDupMethodDef              = 0x00000004,
    MDDupTypeRef                = 0x00000008,
    MDDupMemberRef              = 0x00000010,
    MDDupCustomAttribute        = 0x00000020,
    MDDupParamDef               = 0x00000040,
    MDDupPermission             = 0x00000080,
    MDDupProperty               = 0x00000100,
    MDDupEvent                  = 0x00000200,
    MDDupFieldDef               = 0x00000400,
    MDDupSignature              = 0x00000800,
    MDDupModuleRef              = 0x00001000,
    MDDupTypeSpec               = 0x00002000,
    MDDupImplMap                = 0x00004000,
    MDDupAssemblyRef            = 0x00008000,
    MDDupFile                   = 0x00010000,
    MDDupExportedType           = 0x00020000,
    MDDupManifestResource       = 0x00040000,
    MDDupGenericParam           = 0x00080000,
    MDDupMethodSpec             = 0x00100000,
    MDDupGenericParamConstraint = 0x00200000,
        
    MDDupAssembly               = 0x10000000,
        
    MDDupDefault = 
        MDNoDupChecks | MDDupTypeRef | MDDupMemberRef | 
        MDDupSignature | MDDupTypeSpec | MDDupMethodSpec
        
} CorCheckDuplicatesFor;

Members

Member Description

MDDupAll

Check all metadata tokens for duplicates.

MDDupENC

Not used.

MDNoDupChecks

Do not check metadata tokens for duplicates.

MDDupTypeDef

Check for duplicates of mdTypeDef tokens.

MDDupInterfaceImpl

Check for duplicates of mdInterfaceImpl tokens.

MDDupMethodDef

Check for duplicates of mdMethodDef tokens.

MDDupTypeRef

Check for duplicates of mdTypeRef tokens.

MDDupMemberRef

Check for duplicates of mdMemberRef tokens.

MDDupCustomAttribute

Check for duplicates of mdCustomAttribute tokens.

MDDupParamDef

Check for duplicates of mdParamDef tokens.

MDDupPermission

Check for duplicates of mdPermission tokens.

MDDupProperty

Check for duplicates of mdProperty tokens.

MDDupEvent

Check for duplicates of mdEvent tokens.

MDDupFieldDef

Check for duplicates of mdFieldDef tokens.

MDDupSignature

Check for duplicates of mdSignature tokens.

MDDupModuleRef

Check for duplicates of mdModuleRef tokens.

MDDupTypeSpec

Check for duplicates of mdTypeSpec tokens.

MDDupImplMap

Check for duplicates of mdImplMap tokens.

MDDupAssemblyRef

Check for duplicates of mdAssemblyRef tokens.

MDDupFile

Check for duplicates of mdFile tokens.

MDDupExportedType

Check for duplicates of mdExportedType tokens.

MDDupManifestResource

Check for duplicates of mdManifestResource tokens.

MDDupGenericParam

Check for duplicates of mdGenericParam tokens.

MDDupMethodSpec

Check for duplicates of mdMethodSpec tokens.

MDDupGenericParamConstraint

Check for duplicates of mdGenericParamConstraint tokens.

MDDupAssembly

Check for duplicates of mdAssembly tokens.

MDDupDefault

Check for duplicates of mdMemberRef, mdTypeRef, mdSignature, mdTypeSpec, and mdMethodSpec tokens.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorHdr.h

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Other Resources

Metadata Enumerations