a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
30 lines
261 B
C#
30 lines
261 B
C#
partial class A<T>
|
|
{
|
|
internal partial class B : A<int>
|
|
{
|
|
public void Test ()
|
|
{
|
|
Foo (3);
|
|
}
|
|
}
|
|
}
|
|
|
|
partial class A<T> : X<T>
|
|
{
|
|
|
|
}
|
|
|
|
class X<U>
|
|
{
|
|
public void Foo (U arg)
|
|
{
|
|
}
|
|
}
|
|
|
|
class M
|
|
{
|
|
public static void Main ()
|
|
{
|
|
new A<string>.B ().Test ();
|
|
}
|
|
} |