[Mono-bugs] [Bug 24186] New - explicit casting doesn't work on child classes.
3 May 2002 16:05:10 -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 email@example.com.
--- shadow/24186 Fri May 3 12:05:10 2002
+++ shadow/24186.tmp.24486 Fri May 3 12:05:10 2002
@@ -0,0 +1,25 @@
+Summary: explicit casting doesn't work on child classes.
+I have a class "A" which has the explicit casting operator overloaded to
+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