3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
28 lines
257 B
C#
28 lines
257 B
C#
// CS0229: Ambiguity between `A.N' and `B.N'
|
|
// Line: 26
|
|
|
|
using static A;
|
|
using static B;
|
|
|
|
class A
|
|
{
|
|
public class N
|
|
{
|
|
public static void Foo ()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
class B
|
|
{
|
|
public static int N;
|
|
}
|
|
|
|
class Test
|
|
{
|
|
public static void Main ()
|
|
{
|
|
N.Foo ();
|
|
}
|
|
} |