[Mono-bugs] [Bug 32443][Nor] Changed - Assembly.LoadFrom ("gizmo.dll").CreateInstance ("gizmo").GetType().FullName allways returns System.Object and not a gizmo.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Tue, 4 Feb 2003 19:21:49 -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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=32443
--- shadow/32443 Mon Nov 25 11:53:58 2002
+++ shadow/32443.tmp.17199 Tue Feb 4 19:21:49 2003
@@ -1,13 +1,13 @@
Bug#: 32443
Product: Mono/Runtime
Version: unspecified
OS: Red Hat 7.0
OS Details:
-Status: REOPENED
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Normal
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: gkodinov@openlinksw.co.uk
QAContact: mono-bugs@ximian.com
@@ -74,6 +74,14 @@
As a result the above code should not generate an error (as I've
noted it does now) but should somehow make a new gizmo instance.
I'm not persisting this for academic reasons - it's totally relevant
for process of deserializing object instances - there it can and
will call only the default (no params) constructor.
+
+------- Additional Comments From gonzalo@ximian.com 2003-02-04 19:21 -------
+I just tried the code under MS runtime.
+Result:
+Unhandled Exception: System.MissingMethodException: Constructor on
+type gizmo not found.
+
+and that's the same exception that mono throws.