Table of Contents

Class AssemblyFlagsAttribute

Namespace
System.Reflection
Assembly
mscorlib.dll

Specifies a bitwise combination of AssemblyNameFlags flags for an assembly, describing just-in-time (JIT) compiler options, whether the assembly is retargetable, and whether it has a full or tokenized public key. This class cannot be inherited.

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFlagsAttribute : Attribute
Inheritance
AssemblyFlagsAttribute
Inherited Members
Extension Methods

Remarks

Available only in mscorlib build with support for System.Reflection.

Constructors

AssemblyFlagsAttribute(AssemblyNameFlags)

Initializes a new instance of the AssemblyFlagsAttribute class with the specified combination of AssemblyNameFlags flags.

public AssemblyFlagsAttribute(AssemblyNameFlags assemblyFlags)

Parameters

assemblyFlags AssemblyNameFlags

A bitwise combination of AssemblyNameFlags flags representing just-in-time (JIT) compiler options, longevity, whether an assembly is retargetable, and whether it has a full or tokenized public key.

AssemblyFlagsAttribute(uint)

Note: This API is now obsolete. Initializes a new instance of the AssemblyFlagsAttribute class with the specified combination of AssemblyNameFlags flags, cast as an unsigned integer value.

[CLSCompliant(false)]
public AssemblyFlagsAttribute(uint flags)

Parameters

flags uint

A bitwise combination of AssemblyNameFlags flags, cast as an unsigned integer value, representing just-in-time (JIT) compiler options, longevity, whether an assembly is retargetable, and whether it has a full or tokenized public key.

Properties

Flags

Note: This API is now obsolete. Gets an unsigned integer value representing the combination of AssemblyNameFlags flags specified when this attribute instance was created.

[CLSCompliant(false)]
public uint Flags { get; }

Property Value

uint

An unsigned integer value representing a bitwise combination of AssemblyNameFlags flags.