69 lines
3.8 KiB
C#
69 lines
3.8 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
/// <summary>Specifies a bitwise combination of <see cref="T:System.Reflection.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.</summary>
|
|
// Token: 0x0200022A RID: 554
|
|
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
|
|
[ComVisible(true)]
|
|
public sealed class AssemblyFlagsAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AssemblyFlagsAttribute" /> class with the specified combination of <see cref="T:System.Reflection.AssemblyNameFlags" /> flags, cast as an unsigned integer value.</summary>
|
|
/// <param name="flags">A bitwise combination of <see cref="T:System.Reflection.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.</param>
|
|
// Token: 0x06001D6F RID: 7535 RVA: 0x0006E190 File Offset: 0x0006C390
|
|
[Obsolete("")]
|
|
[CLSCompliant(false)]
|
|
public AssemblyFlagsAttribute(uint flags)
|
|
{
|
|
this.flags = flags;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AssemblyFlagsAttribute" /> class with the specified combination of <see cref="T:System.Reflection.AssemblyNameFlags" /> flags, cast as an integer value.</summary>
|
|
/// <param name="assemblyFlags">A bitwise combination of <see cref="T:System.Reflection.AssemblyNameFlags" /> flags, cast as an 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.</param>
|
|
// Token: 0x06001D70 RID: 7536 RVA: 0x0006E1A0 File Offset: 0x0006C3A0
|
|
[Obsolete("")]
|
|
public AssemblyFlagsAttribute(int assemblyFlags)
|
|
{
|
|
this.flags = (uint)assemblyFlags;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AssemblyFlagsAttribute" /> class with the specified combination of <see cref="T:System.Reflection.AssemblyNameFlags" /> flags.</summary>
|
|
/// <param name="assemblyFlags">A bitwise combination of <see cref="T:System.Reflection.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.</param>
|
|
// Token: 0x06001D71 RID: 7537 RVA: 0x0006E1B0 File Offset: 0x0006C3B0
|
|
public AssemblyFlagsAttribute(AssemblyNameFlags assemblyFlags)
|
|
{
|
|
this.flags = (uint)assemblyFlags;
|
|
}
|
|
|
|
/// <summary>Gets an unsigned integer value representing the combination of <see cref="T:System.Reflection.AssemblyNameFlags" /> flags specified when this attribute instance was created.</summary>
|
|
/// <returns>An unsigned integer value representing a bitwise combination of <see cref="T:System.Reflection.AssemblyNameFlags" /> flags.</returns>
|
|
// Token: 0x17000548 RID: 1352
|
|
// (get) Token: 0x06001D72 RID: 7538 RVA: 0x0006E1C0 File Offset: 0x0006C3C0
|
|
[Obsolete("")]
|
|
[CLSCompliant(false)]
|
|
public uint Flags
|
|
{
|
|
get
|
|
{
|
|
return this.flags;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an integer value representing the combination of <see cref="T:System.Reflection.AssemblyNameFlags" /> flags specified when this attribute instance was created.</summary>
|
|
/// <returns>An integer value representing a bitwise combination of <see cref="T:System.Reflection.AssemblyNameFlags" /> flags.</returns>
|
|
// Token: 0x17000549 RID: 1353
|
|
// (get) Token: 0x06001D73 RID: 7539 RVA: 0x0006E1C8 File Offset: 0x0006C3C8
|
|
public int AssemblyFlags
|
|
{
|
|
get
|
|
{
|
|
return (int)this.flags;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040009E7 RID: 2535
|
|
private uint flags;
|
|
}
|
|
}
|