1 // cs0034-2.cs : Operator `+' is ambiguous on operands of type `Y' and `X'
4 public static implicit operator int (Y y
) {
8 public static implicit operator string (Y y
) {
12 public static implicit operator Y (string y
) {
16 public static implicit operator Y (int y
) {
22 public static implicit operator int (X x
) {
26 public static implicit operator string (X x
) {
32 public static void Main ()
34 Y y
= new Y () + new X ();