[Mono-bugs] [Bug 56463][Wis] New - CS0643: 'x' duplicate named attribute argument
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 4 Apr 2004 13:20:14 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=56463
--- shadow/56463 2004-04-04 13:20:14.000000000 -0400
+++ shadow/56463.tmp.28570 2004-04-04 13:20:14.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 56463
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CS0643: 'x' duplicate named attribute argument
+
+We compile:
+using System;
+
+public class A : Attribute {
+ public int x;
+ [A (x = 1, x = 2)]
+ public static void Main ()
+ {
+ }
+}
+
+While csc gives:
+C:\Inetpub\ftproot>csc t.cs
+t.cs(5,13): error CS0643: 'x' duplicate named attribute argument