Adjust sleeping values
[mono.git] / mcs / class / corlib / System.Reflection / AssemblyFlagsAttribute.cs
index a52f439140ab20a9def8569084a823b23d1b4a72..3b24d0bd6c89690a53ff6fb9612c3121af96c80a 100644 (file)
@@ -33,59 +33,43 @@ using System.Runtime.InteropServices;
 
 namespace System.Reflection
 {
-#if NET_2_0
        [ComVisible (true)]
        [AttributeUsage (AttributeTargets.Assembly, Inherited=false)]
-#else
-       [AttributeUsage (AttributeTargets.Assembly)]
-#endif
        public sealed class AssemblyFlagsAttribute : Attribute
        {
                // Field
                private uint flags;
                
                // Constructor
-#if NET_2_0
                [Obsolete("")]
-#endif
                [CLSCompliant (false)]
                public AssemblyFlagsAttribute (uint flags)
                {
                        this.flags = flags;
                }
 
-#if NET_1_1
-#if NET_2_0
                [Obsolete("")]
-#endif
-               public AssemblyFlagsAttribute (int flags)
+               public AssemblyFlagsAttribute (int assemblyFlags)
                {
-                       this.flags = (uint)flags;
+                       this.flags = (uint)assemblyFlags;
                }
-#endif
 
-#if NET_2_0
                public AssemblyFlagsAttribute (AssemblyNameFlags assemblyFlags)
                {
                        this.flags = (uint)assemblyFlags;
                }
-#endif
 
                // Property
-#if NET_2_0
                [Obsolete("")]
-#endif
                [CLSCompliant (false)]
                public uint Flags
                {
                        get { return flags; }
                }
 
-#if NET_1_1
                public int AssemblyFlags
                {
                        get { return (int)flags; }
                }
-#endif
        }
 }