[Mono-bugs] [Bug 41951][Nor] New - Repeated attributes not allowed.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Fri, 25 Apr 2003 23:25:24 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=41951
--- shadow/41951 Fri Apr 25 23:25:24 2003
+++ shadow/41951.tmp.17872 Fri Apr 25 23:25:24 2003
@@ -0,0 +1,31 @@
+Bug#: 41951
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: miguel@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Repeated attributes not allowed.
+
+The following fails to compile with mcs:
+
+using System.Xml.Serialization;
+
+[System.Xml.Serialization.XmlIncludeAttribute(typeof(int))]
+[System.Xml.Serialization.XmlIncludeAttribute(typeof(string))]
+class X {
+ static void Main () {}
+}
+
+mcs t.cs
+/tmp/t.cs(4) error CS0579: Duplicate
+'System.Xml.Serialization.XmlIncludeAttribute' attribute