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

gtest-489.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3e4806968770e7aa5b271a2208eb49ed02fc672e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
abstract class sample
{
	public abstract TValue Value<TKey, TValue> ();

	class nested<T> : sample
	{
		struct holder<TKey, TValue>
		{
			public static TValue Val;
		}

		public override sealed TValue Value<TKey, TValue> ()
		{
			return holder<TKey, TValue>.Val;
		}
	}

	public static void Main ()
	{
	}
}