Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    Attribute
    AssemblyFlagsAttribute
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    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.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX