[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0034-2.cs
1 // CS0034: Operator `+' is ambiguous on operands of type `A' and `A'
2 // Line: 22
3
4 public class A {
5         public static implicit operator int (A a)
6         {
7                 return 0;
8         }
9
10         public static implicit operator string (A a)
11         {
12                 return "a";
13         }
14
15         public static void Main ()
16         {
17                 A a = new A ();
18                 object o = a + a;
19                 System.Console.WriteLine (o);
20         }
21 }