[Mono-bugs] [Bug 29502][Nor] Changed - null arg to custom attributes

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
27 Aug 2002 14:36:07 -0000


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 lupus@ximian.com.

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

--- shadow/29502	Tue Aug 27 10:19:45 2002
+++ shadow/29502.tmp.29630	Tue Aug 27 10:36:07 2002
@@ -35,6 +35,16 @@
 }
 
 If you add a constructor that takes a string, csc selects that
 and compilation succedes:
 	public My (string obj) {
 	}
+
+------- Additional Comments From lupus@ximian.com  2002-08-27 10:36 -------
+Forgot to mention that this bug is the cause of the message:
+warning CS-0023: The compiler can not encode this attribute in the
+Mono runtime due to a known bug in it.  We know about the problem and will
+fix it as soon as possible.
+
+that happens while compiling some of our assemblies (I have fixed the
+case of a null passed to a custom attr that takes a string, but mcs
+always chooses the ctor that takes an object instead).