[Mono-bugs] [Bug 72649][Nor] Changed - Error in attribute on a gmcs compiled program

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 23 Feb 2005 11:15:41 -0500 (EST)


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=72649

--- shadow/72649	2005-02-23 11:14:36.000000000 -0500
+++ shadow/72649.tmp.11251	2005-02-23 11:15:41.000000000 -0500
@@ -99,6 +99,15 @@
 fails in the same way.
 
 ------- Additional Comments From martin@ximian.com  2005-02-23 11:14 -------
 Created an attachment (id=14352)
 Simpler test case
 
+
+------- Additional Comments From martin@ximian.com  2005-02-23 11:15 -------
+I debugged this and found the following:
+
+in mono_reflection_get_custom_attributes_blob(), line 7345 we're
+encoding the property type.  It's MONO_TYPE_OBJECT, so we're writing
+0x1c - but for some reason, csc writes 0x51 and the MS runtime also
+expects 0x51.
+