[Mono-bugs] [Bug 64221][Min] Changed - errors/cs0182-2.cs compiler crash
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 26 Aug 2004 18:48:02 -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 martin@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=64221
--- shadow/64221 2004-08-26 18:47:35.000000000 -0400
+++ shadow/64221.tmp.28254 2004-08-26 18:48:02.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 64221
Product: Mono: Compilers
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Minor
Component: C#
AssignedTo: mono-bugs@ximian.com
ReportedBy: martin@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -20,6 +20,24 @@
[martin@gondor errors]$ mcs cs0182-2.cs
** ERROR **: type 0x14 not yet supported in custom attr encoder
aborting...
Aborted
+
+------- Additional Comments From martin@ximian.com 2004-08-26 18:48 -------
+// cs0182.cs : An attribute argument must be a constant expression,
+typeof expression or array creation expression
+// Line : 13
+
+using System;
+
+class TestAttribute: Attribute
+{
+ public TestAttribute (int[,] i) {}
+}
+
+public class E
+{
+ [Test (null)]
+ public void Method () {}
+}