Class AssemblyFlagsAttribute
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.
Inherited Members
Namespace: System.Reflection
Assembly: mscorlib.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFlagsAttribute : Attribute
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.
Declaration
public AssemblyFlagsAttribute(AssemblyNameFlags assemblyFlags)
Parameters
Type | Name | Description |
---|---|---|
AssemblyNameFlags | assemblyFlags | 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.
Declaration
[CLSCompliant(false)]
public AssemblyFlagsAttribute(uint flags)
Parameters
Type | Name | Description |
---|---|---|
uint | flags | 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.
Declaration
[CLSCompliant(false)]
public uint Flags { get; }
Property Value
Type | Description |
---|---|
uint | An unsigned integer value representing a bitwise combination of AssemblyNameFlags flags. |