[Mono-bugs] [Bug 60439][Nor] Changed - mcs does not emit assembly qualified type name for types used in attributes

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 21 Jun 2004 09:30:38 -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 sebastien@ximian.com.

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

--- shadow/60439	2004-06-21 09:00:43.000000000 -0400
+++ shadow/60439.tmp.3784	2004-06-21 09:30:38.000000000 -0400
@@ -138,6 +138,13 @@
 (2) the code fails wheter or not the public key token is present. The
 problem seems located in reflection.c, function
 mono_reflection_type_from_name. Right now the assembly isn't loaded if
 it hasn't yet been used (see comments ;-).
 
 /* do we need to load if it's not already loaded? */
+
+------- Additional Comments From sebastien@ximian.com  2004-06-21 09:30 -------
+Here's a patch for problem #2. This works for both MCS and CSC
+compiled test because a null public key token is valid and will (try
+to) match an assembly.
+
+