Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

33 lines
394 B
C#

// CS0121: The call is ambiguous between the following methods or properties: `A.B.X.Test(int)' and `A.C.X.Test(int)'
// Line: 31
using static A.B.X;
using static A.C.X;
namespace A.B
{
static class X
{
public static void Test (int o)
{
}
}
}
namespace A.C
{
static class X
{
public static int Test (int o)
{
}
}
}
class M
{
public static void Main ()
{
Test (0);
}
}