[Mono-bugs] [Bug 63841][Nor] Changed - [PATCH] Type.GetElementType doesn't return null when expected

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 20 18:47:13 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 bmaurer at users.sf.net.

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

--- shadow/63841	2005-05-20 18:44:55.000000000 -0400
+++ shadow/63841.tmp.19447	2005-05-20 18:47:13.000000000 -0400
@@ -92,6 +92,11 @@
 	if (class->enumtype && class->enum_basetype) /* types that are
 modifierd typebuilkders may not have enum_basetype set */
 		return mono_type_get_object (mono_object_domain (type),
 class->enum_basetype);
 
 However, I am worried that this is used in MCS. Miguel, can you comment?
+
+------- Additional Comments From bmaurer at users.sf.net  2005-05-20 18:47 -------
+Ok, so in public static Type EnumToUnderlying (Type t)
+(typemanager.cs), it looks like we take another approach. So it seems
+that this is ok.


More information about the mono-bugs mailing list