Share via


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorHdr.h

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Metadata Enumerations