[Mono-bugs] [Bug 45415][Blo] Changed - System.Int32 is not a Subclass of according to Type.IsSubclassOf()

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 25 Jun 2003 12:26:39 -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 ravi@ximian.com.

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

--- shadow/45415	Wed Jun 25 11:45:35 2003
+++ shadow/45415.tmp.4570	Wed Jun 25 12:26:39 2003
@@ -86,6 +86,19 @@
 
 
 ------- Additional Comments From ravi@ximian.com  2003-06-25 11:45 -------
 Woah, I also meant to say that this bug only manifests itself when
 compiling corlib. I am looking into that now. Any inputs would be
 appreciated.
+
+------- Additional Comments From ravi@ximian.com  2003-06-25 12:26 -------
+When compiling corlib, the Type objects corresponding to System.Int32
+and System.ValueType are TypeBuilder objects (since they are still
+being compiled). 
+
+IsSubclassOf seems to be returning false when the two types are
+TypeBuilders. I checked to see if mcs was mixing up the types being
+compiled with the types currently loaded and no, there is no mix up
+happening.
+
+
+Miguel, comments ?