CorRefToDefCheck Enumeration

Specifies flags to control which referenced items are converted to their definitions in order to optimize the code.

typedef enum CorRefToDefCheck {
    MDRefToDefDefault           = 0x00000003,
    MDRefToDefAll               = 0xffffffff,
    MDRefToDefNone              = 0x00000000,
    MDTypeRefToDef              = 0x00000001,
    MDMemberRefToDef            = 0x00000002
} CorRefToDefCheck;

Members

Member

Description

MDRefToDefDefault

Specifies that type references and member references should be converted to definitions. This is the default value (MDTypeRefToDef | MDMemberRefToDef).

MDRefToDefAll

Specifies that all referenced items should be converted to definitions.

MDRefToDefNone

Specifies that no referenced items should be converted to definitions.

MDTypeRefToDef

Specifies that only type references should be converted to type definitions.

MDMemberRefToDef

Specifies that only member references should be converted to definitions. That is, member references should be converted to either method definitions or field definitions.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorHdr.h

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Other Resources

Metadata Enumerations