[Mono-bugs] [Bug 62895][Nor] Changed - System.AttributeUsageAttribute
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 11 Aug 2004 18:55:11 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by duncan@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=62895
--- shadow/62895 2004-08-11 18:37:50.000000000 -0400
+++ shadow/62895.tmp.27957 2004-08-11 18:55:11.000000000 -0400
@@ -1,22 +1,45 @@
Bug#: 62895
Product: Mono: Class Libraries
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: CORLIB
-AssignedTo: mono-bugs@ximian.com
+AssignedTo: duncan@ximian.com
ReportedBy: marek.safar@seznam.cz
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: System.AttributeUsageAttribute
System.AttributeUsageAttribute
System.AttributeUsageAttribute has wrong attribute target. Now it is All
but should be Class only
+
+------- Additional Comments From duncan@ximian.com 2004-08-11 18:55 -------
+Would this fix it?
+
+--- AttributeUsageAttribute.cs.~1.4.~ 2004-06-10 21:23:21.000000000 -0400
++++ AttributeUsageAttribute.cs 2004-08-11 18:37:36.000000000 -0400
+@@ -32,8 +32,13 @@
+
+ namespace System
+ {
+- [Serializable]
+- [AttributeUsage(AttributeTargets.All)]
++#if NET_1_1
++ [AttributeUsage (AttributeTargets.All)]
++#endif
++#if NET_2_0
++ [AttributeUsage (AttributeTargets.Class)]
++#endif
++ [Serializable]
+ public sealed class AttributeUsageAttribute : Attribute
+ {
+ AttributeTargets valid_on;
+