a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
30 lines
269 B
C#
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 ());
|
|
}
|
|
}
|