for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0121-3.cs
blobae264ead0d4933b244cb7447e17f179c214964ae
1 // CS0121: The call is ambiguous between the following methods or properties: `A.operator +(A, B)' and `B.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 ();