a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
44 lines
418 B
C#
44 lines
418 B
C#
public class Test
|
|
{
|
|
public static int Main ()
|
|
{
|
|
N1.Foo.Foo2 foo2 = new N1.Foo.Foo2 ();
|
|
if (foo2.Talk () != 1)
|
|
return 1;
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
namespace N1
|
|
{
|
|
public class Foo : N2.Bar
|
|
{
|
|
public class Foo2 : Bar2
|
|
{
|
|
}
|
|
}
|
|
|
|
public class Bar2
|
|
{
|
|
public int Talk ()
|
|
{
|
|
return 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
namespace N2
|
|
{
|
|
public class Bar
|
|
{
|
|
private class Bar2
|
|
{
|
|
public int Talk ()
|
|
{
|
|
return 2;
|
|
}
|
|
}
|
|
}
|
|
}
|