[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:39:23 -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:18:29.000000000 -0400
+++ shadow/60439.tmp.16582 2004-06-19 11:39:23.000000000 -0400
@@ -87,6 +87,34 @@
}
}
[AttributeUsage (AttributeTargets.All)]
public class TestClass {
}
+
+------- Additional Comments From sebastien@ximian.com 2004-06-19 11:39 -------
+We get a very similar error when the original source code is compiled
+by CSC (7.1) and executed on Mono (CVS). This time we have the public
+key token (so MCS, or a runtime function used by MCS, must have a
+problem here) but we still get the same error about loading the type
+(resulting in the later NullReferenceException).
+
+
+** (bug60439.exe:17813): WARNING **: Cannot load type
+'System.Drawing.Design.UITypeEditor,System.Drawing,
+Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in <0x00016> System.ComponentModel.EditorAttribute:.ctor
+(string,System.Type)
+in (unmanaged) (wrapper managed-to-native)
+System.MonoCustomAttrs:GetCustomAttributes
+(System.Reflection.ICustomAttributeProvider)
+in <0x00004> (wrapper managed-to-native)
+System.MonoCustomAttrs:GetCustomAttributes
+(System.Reflection.ICustomAttributeProvider)
+in <0x0004d> System.MonoCustomAttrs:GetCustomAttributes
+(System.Reflection.ICustomAttributeProvider,bool)
+in <0x00010> System.MonoType:GetCustomAttributes (bool)
+in <0x00023> EntryPoint:Main ()
+