a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
220 B
C#
24 lines
220 B
C#
class A<U>
|
|
{
|
|
protected int foo;
|
|
}
|
|
|
|
class B<T> : A<T>
|
|
{
|
|
protected class N
|
|
{
|
|
public void Test (C b)
|
|
{
|
|
var v = b.foo;
|
|
}
|
|
}
|
|
}
|
|
|
|
class C : B<int>
|
|
{
|
|
public static void Main ()
|
|
{
|
|
new C.N ().Test (new C ());
|
|
}
|
|
}
|