Edit

Share via


CorFlags Enum

Definition

Represents the runtime flags for a .NET executable image.

This enumeration supports a bitwise combination of its member values.

public enum class CorFlags
[System.Flags]
public enum CorFlags
[<System.Flags>]
type CorFlags = 
Public Enum CorFlags
Inheritance
CorFlags
Attributes

Fields

Name Value Description
ILOnly 1

Indicates that this image only contains IL code.

Requires32Bit 2

Indicates that this image can only be loaded into a 32-bit process.

ILLibrary 4

Indicates that this image is a library that only contains IL code.

StrongNameSigned 8

Indicates that this image has a strong name signature.

NativeEntryPoint 16

Reserved, shall be 0.

TrackDebugData 65536

Reserved, shall be 0.

Prefers32Bit 131072

Indicates that this image should be run as a 32-bit process on a 64-bit operating system.

Remarks

The runtime flags are defined by the ECMA-335 specification, section II.25.3.3.1. This enumeration is used by the Flags property.

Applies to