[Mono-bugs] [Bug 24186] Changed - explicit casting doesn't work on child classes.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
3 May 2002 16:05:58 -0000
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 joe@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=24186
--- shadow/24186 Fri May 3 12:05:10 2002
+++ shadow/24186.tmp.25377 Fri May 3 12:05:58 2002
@@ -20,6 +20,11 @@
allow it to be casted to a class "X". I also have a class "Y" derived from
"X", but the compiler won't allow me to cast from "A" to "Y", although it
works for "A" to "X".
Attached is a test program that shows the behavior. Works with csc, not
with mcs.
+
+------- Additional Comments From joe@ximian.com 2002-05-03 12:05 -------
+Created an attachment (id=1698)
+Test case which shows the bug
+