linux-packaging-mono/mcs/tests/gtest-partial-07.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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