Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

30 lines
269 B
C#

// CS0122: `M.Test<S.P>(I<S.P>)' is inaccessible due to its protection level
// Line: 27
interface I<T>
{
}
struct S
{
class P
{
}
public class C : I<P>
{
}
}
class M
{
static void Test<T>(I<T> iface)
{
}
static void Test()
{
Test (new S.C ());
}
}