Share via


CorAssemblyFlags Enumeration

Contains values that describe the metadata applied to an assembly compilation.

typedef enum CorAssemblyFlags {
    
    afPublicKey             =   0x0001,
    afPA_None               =   0x0000,
    afPA_MSIL               =   0x0010,
    afPA_x86                =   0x0020,
    afPA_IA64               =   0x0030,
    afPA_AMD64              =   0x0040,
    afPA_NoPlatform         =   0x0070,
    afPA_Specified          =   0x0080,
    afPA_Mask               =   0x0070,
    afPA_FullMask           =   0x00F0,
    afPA_Shift              =   0x0004,
    
    afEnableJITcompileTracking  =   0x8000,
    afDisableJITcompileOptimizer=   0x4000,
    
    afRetargetable          =   0x0100,
    
} CorAssemblyFlags;

Members

Member

Description

afPublicKey

Indicates that the assembly reference holds the full, unhashed public key.

afPA_None

Indicates that the processor architecture is unspecified.

afPA_MSIL

Indicates that the processor architecture is neutral (PE32).

afPA_x86

Indicates that the processor architecture is x86 (PE32).

afPA_IA64

Indicates that the processor architecture is Itanium (PE32+).

afPA_AMD64

Indicates that the processor architecture is AMD X64 (PE32+).

afPA_NoPlatform

Indicates that the assembly is a reference assembly; that is, it applies to any architecture but cannot run on any architecture. Thus, the flag is the same as afPA_Mask.

afPA_Specified

Indicates that the processor architecture flags should be propagated to the AssemblyRef record.

afPA_Mask

A mask that describes the processor architecture.

afPA_FullMask

Specifies that the processor architecture description is included.

afPA_Shift

Indicates a shift count in the processor architecture flags to and from the index.

afEnableJITcompileTracking

Indicates the corresponding value from the DebuggableAttribute.DebuggingModes of the DebuggableAttribute.

afDisableJITcompileOptimizer

Indicates the corresponding value from the DebuggableAttribute.DebuggingModes of the DebuggableAttribute.

afRetargetable

Indicates that the assembly can be retargeted at run time to an assembly from a different publisher.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorHdr.h

.NET Framework Versions: 4, 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