[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
Sat, 19 Jun 2004 11:59:48 -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:39:23.000000000 -0400
+++ shadow/60439.tmp.16722 2004-06-19 11:59:48.000000000 -0400
@@ -115,6 +115,16 @@
(System.Reflection.ICustomAttributeProvider)
in <0x0004d> System.MonoCustomAttrs:GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,bool)
in <0x00010> System.MonoType:GetCustomAttributes (bool)
in <0x00023> EntryPoint:Main ()
+
+------- Additional Comments From sebastien@ximian.com 2004-06-19 11:59 -------
+The problem disappears if the type was already use (i.e. loaded)
+before. For example adding the following line just before
+"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");
+