2004-03-01 Larry Ewing <lewing@ximian.com>
[mono-project.git] / mcs / class / corlib / System.Reflection / AssemblyFlagsAttribute.cs
blob114838473d31cff08e5a9648fc042953611a1f89
1 //
2 // System.Reflection.AssemblyFlagsAttribute.cs
3 //
4 // Author: Duncan Mak (duncan@ximian.com)
5 //
6 // (C) Ximian, Inc. http://www.ximian.com
7 //
9 namespace System.Reflection
11 [AttributeUsage (AttributeTargets.Assembly)]
12 public sealed class AssemblyFlagsAttribute : Attribute
14 // Field
15 private uint flags;
17 // Constructor
18 [CLSCompliant (false)]
19 public AssemblyFlagsAttribute (uint flags)
21 this.flags = flags;
24 #if NET_1_1
25 public AssemblyFlagsAttribute (int flags)
27 this.flags = (uint)flags;
29 #endif
31 // Property
32 [CLSCompliant (false)]
33 public uint Flags
35 get { return flags; }
38 #if NET_1_1
39 public int AssemblyFlags
41 get { return (int)flags; }
43 #endif