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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=75479

--- shadow/75479        2006-02-14 08:27:22.000000000 -0500
+++ shadow/75479.tmp.7557       2006-02-14 12:29:44.000000000 -0500
@@ -267,6 +267,15 @@
 The problem here is that mono_type_get_underlying_type() will return
 a broken type pointer, at least in the case of an instantiated generic
 struct. The low-level type is MONO_TYPE_VALUETYPE, but the MonoClass*
 pointer in it points to the uninstantiated generic struct and not the
 correct instantiated one, so when mono_class_from_mono_type() is
 called on it it gets the wrong info.
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-02-14 12:29 -------
+As Paolo said, the problem is not with calling/not calling
+get_underlying_type (), but with the fact that the type returned by
+get_underlying_type () is broken, and some info needs to be read from
+the original type. At least we should add some comment to
+get_underlying_type () to indicate its intended usage.
+
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to