2 // This is a compile test, submitted by Joe. We really need
3 // a more thorough set of tests for the user defined explicit
9 public static explicit operator X (A foo
)
24 public static int Main ()
32 } catch (InvalidCastException
){
37 // We should have thrown the exception above