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