Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-526.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e280f5df37c81d37c13a2356d69b79c7d52356b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class A<U>
{
	protected int foo;
}

class B<T> : A<T>
{
	protected class N
	{
		public void Test (C b)
		{
			var v = b.foo;
		}
	}
}

class C : B<int>
{
	public static void Main ()
	{
		new C.N ().Test (new C ());
	}
}