[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:00:43 -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-19 11:59:48.000000000 -0400
+++ shadow/60439.tmp.3527	2004-06-21 09:00:43.000000000 -0400
@@ -125,6 +125,19 @@
 "type.GetCustomAttributes" returns on the console 1 (as expected).
 
 Type t = Type.GetType
 ("System.Drawing.Design.UITypeEditor,System.Drawing,
 Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
 
+
+------- Additional Comments From sebastien@ximian.com  2004-06-21 09:00 -------
+There seems to be two bugs here
+
+(1) mcs doesn't include the public key token in the compiled assembly
+(as CSC does).
+
+(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? */