[Mono-bugs] [Bug 74623][Min] Changed - Compiler can't handle correctly attributes with long constructor arguments

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 19 Apr 2005 13:58:41 -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 dominic_ullmann@hispeed.ch.

http://bugzilla.ximian.com/show_bug.cgi?id=74623

--- shadow/74623	2005-04-19 12:07:43.000000000 -0400
+++ shadow/74623.tmp.29509	2005-04-19 13:58:41.000000000 -0400
@@ -73,6 +73,30 @@
 
 What did you test?
 
 ------- Additional Comments From marek.safar@seznam.cz  2005-04-19 12:07 -------
 Dominic,
 could you more precisely specify your Mono version.
+
+------- Additional Comments From dominic_ullmann@hispeed.ch  2005-04-19 13:58 -------
+I've just installed 1.1.6. With this version, the problem is fixed. 
+
+Just for information:
+
+mcs 1.0.6:
+Test.cs(19) warning CS8023: The compiler can not encode this 
+attribute in .NET d
+ue to a bug in the .NET runtime. Try the Mono runtime. The exception 
+was: Value
+of argument 0 does not match parameter type: System.Int64 -> 1
+Compilation succeeded - 1 warning(s)
+
+mcs 1.1.4:
+Test.cs(19) error CS0182: An attribute argument must be a constant 
+expression, t
+ypeof expression or array creation expression
+Compilation failed: 1 error(s), 0 warnings
+
+Thank you.
+Best regards,
+Dominic
+