Edit

Share via


AssemblyNameFlags Enum

Definition

Provides information about an Assembly reference.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum AssemblyNameFlags
C#
[System.Flags]
[System.Serializable]
public enum AssemblyNameFlags
C#
[System.Flags]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum AssemblyNameFlags
Inheritance
AssemblyNameFlags
Attributes

Fields

Name Value Description
None 0

Specifies that no flags are in effect.

PublicKey 1

Specifies that a public key is formed from the full public key rather than the public key token.

Retargetable 256

Specifies that the assembly can be retargeted at runtime to an assembly from a different publisher. This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.

EnableJITcompileOptimizer 16384

Specifies that just-in-time (JIT) compiler optimization is disabled for the assembly. This is the exact opposite of the meaning that is suggested by the member name.

EnableJITcompileTracking 32768

Specifies that just-in-time (JIT) compiler tracking is enabled for the assembly.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1
UWP 10.0