2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0121-3.cs
blob0ecedd64a516d99bb7fea8249beaa272cf2a38f7
1 // CS0121: The call is ambiguous between the following methods or properties: `B.operator +(A, B)' and `A.operator +(A, B)'
2 // Line: 21
4 class A
6 public static A operator + (A a, B b)
8 return null;
12 class B
14 public static A operator + (A a, B b)
16 return null;
19 static void Main ()
21 object o = new A () + new B ();