| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // System.Reflection.AssemblyFlagsAttribute.cs
- //
- // Author: Duncan Mak ([email protected])
- //
- // (C) Ximian, Inc. http://www.ximian.com
- //
- namespace System.Reflection
- {
- [AttributeUsage (AttributeTargets.Assembly)]
- public sealed class AssemblyFlagsAttribute : Attribute
- {
- // Field
- private uint flags;
-
- // Constructor
- [CLSCompliant (false)]
- public AssemblyFlagsAttribute (uint flags)
- {
- this.flags = flags;
- }
- #if NET_1_1
- public AssemblyFlagsAttribute (int flags)
- {
- this.flags = (uint)flags;
- }
- #endif
- // Property
- [CLSCompliant (false)]
- public uint Flags
- {
- get { return flags; }
- }
- #if NET_1_1
- public int AssemblyFlags
- {
- get { return (int)flags; }
- }
- #endif
- }
- }
|