[Mono-bugs] [Bug 74937][Maj] Changed - custom type failure ..
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon May 16 11:43:04 EDT 2005
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 lupus at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74937
--- shadow/74937 2005-05-16 11:34:31.000000000 -0400
+++ shadow/74937.tmp.10299 2005-05-16 11:43:04.000000000 -0400
@@ -71,6 +71,13 @@
Um, no idea - of course - some tests on the .Net 'Type' class might
illuminate that. I'd love to re-write that class to use the new
generics code - but - not looked at that yet,
Disabling the polymorphic tests for now - I'm not sure that we use a
lot of them in the OO.o API (as of now).
+
+------- Additional Comments From lupus at ximian.com 2005-05-16 11:43 -------
+IMO, the runtime fix is to check when type is NULL and invoke the
+TypeHandle property getter to get the MonoType.
+The runtime class libs have a helper class to implement the behavior,
+TypeDelegator, which should be used instead in user code (we don't set
+the handle there yet, though).
More information about the mono-bugs
mailing list