linux-packaging-mono/mcs/tests/gtest-partial-07.cs

30 lines
261 B
C#
Raw Permalink Normal View History

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 ();
}
}