Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
AssemblyFlagsAttribute.cs
Go to the documentation of this file.
1namespace System.Reflection;
2
3[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
4public sealed class AssemblyFlagsAttribute : Attribute
5{
6 private readonly AssemblyNameFlags _flags;
7
8 [Obsolete("AssemblyFlagsAttribute.Flags has been deprecated. Use AssemblyFlags instead.")]
9 [CLSCompliant(false)]
10 public uint Flags => (uint)_flags;
11
12 public int AssemblyFlags => (int)_flags;
13
14 [Obsolete("This constructor has been deprecated. Use AssemblyFlagsAttribute(AssemblyNameFlags) instead.")]
15 [CLSCompliant(false)]
16 public AssemblyFlagsAttribute(uint flags)
17 {
19 }
20
21 [Obsolete("This constructor has been deprecated. Use AssemblyFlagsAttribute(AssemblyNameFlags) instead.")]
22 public AssemblyFlagsAttribute(int assemblyFlags)
23 {
24 _flags = (AssemblyNameFlags)assemblyFlags;
25 }
26
28 {
29 _flags = assemblyFlags;
30 }
31}
AssemblyFlagsAttribute(AssemblyNameFlags assemblyFlags)