Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

24 lines
344 B
C#

// CS0121: The call is ambiguous between the following methods or properties: `A.operator +(A, B)' and `B.operator +(A, B)'
// Line: 21
class A
{
public static A operator + (A a, B b)
{
return null;
}
}
class B
{
public static A operator + (A a, B b)
{
return null;
}
static void Main ()
{
object o = new A () + new B ();
}
}