2014-09-04 09:07:35 +01:00
|
|
|
// CS0121: The call is ambiguous between the following methods or properties: `A.B.X.Test(int)' and `A.C.X.Test(int)'
|
|
|
|
// Line: 31
|
|
|
|
|
2015-04-07 09:35:12 +01:00
|
|
|
using static A.B.X;
|
|
|
|
using static A.C.X;
|
2014-09-04 09:07:35 +01:00
|
|
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|