Moved ProviderCollectionTest.cs from System assembly to System.Configuration.
[mono.git] / mcs / class / corlib / System.Reflection / AssemblyFlagsAttribute.cs
index 13752fc2dc83da878252600a6c9d440cb84060cb..4b1cbc4d6cacf0e164f53156929189719fd76f67 100644 (file)
@@ -35,8 +35,10 @@ namespace System.Reflection
 {
 #if NET_2_0
        [ComVisible (true)]
-#endif
+       [AttributeUsage (AttributeTargets.Assembly, Inherited=false)]
+#else
        [AttributeUsage (AttributeTargets.Assembly)]
+#endif
        public sealed class AssemblyFlagsAttribute : Attribute
        {
                // Field
@@ -56,9 +58,9 @@ namespace System.Reflection
 #if NET_2_0
                [Obsolete("")]
 #endif
-               public AssemblyFlagsAttribute (int flags)
+               public AssemblyFlagsAttribute (int assemblyFlags)
                {
-                       this.flags = (uint)flags;
+                       this.flags = (uint)assemblyFlags;
                }
 #endif