[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0034-2.cs
blob365899bba9f1f332885742b30d1a8144d419358f
1 // CS0034: Operator `+' is ambiguous on operands of type `A' and `A'
2 // Line: 22
4 public class A {
5 public static implicit operator int (A a)
7 return 0;
10 public static implicit operator string (A a)
12 return "a";
15 public static void Main ()
17 A a = new A ();
18 object o = a + a;
19 System.Console.WriteLine (o);