Compartilhar via


CorErrorIfEmitOutOfOrder Enumeration

Contains flag values that indicate the conditions under which an error message should be generated when metadata is emitted out of order.

typedef enum CorErrorIfEmitOutOfOrder {
        
    MDErrorOutOfOrderDefault    = 0x00000000,
    MDErrorOutOfOrderNone       = 0x00000000,
        MDErrorOutOfOrderAll        = 0xffffffff,
    MDMethodOutOfOrder          = 0x00000001,
    MDFieldOutOfOrder           = 0x00000002,
        MDParamOutOfOrder           = 0x00000004,
    MDPropertyOutOfOrder        = 0x00000008,
    MDEventOutOfOrder           = 0x00000010
        
} CorErrorIfEmitOutOfOrder;

Members

Member

Description

MDErrorOutOfOrderDefault

Indicates the default behavior, which does not generate error messages.

MDErrorOutOfOrderNone

Indicates that the compiler should not generate error messages.

MDErrorOutOfOrderAll

Indicates that the compiler should generate an error message when a field, property, event, method, or parameter is emitted out of order.

MDMethodOutOfOrder

Indicates that the compiler should generate an error message when a method is emitted out of order.

MDFieldOutOfOrder

Indicates that the compiler should generate an error message when a field is emitted out of order.

MDParamOutOfOrder

Indicates that the compiler should generate an error message when a parameter is emitted out of order.

MDPropertyOutOfOrder

Indicates that the compiler should generate an error message when a property is emitted out of order.

MDEventOutOfOrder

Indicates that the compiler should generate an error message when an event is emitted out of order.

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