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

gtest-496.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b9660338c6b075dbb0bb8675736544b87cd8aa22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;

abstract class Base
{
	internal static T EndExecute<T> (object source, string method) where T : Base
	{
		return null;
	}
}

class Derived : Base
{
	internal static Derived EndExecute<TElement> (object source)
	{
		return null;
	}
}

class a
{
	public static int Main ()
	{
		Derived.EndExecute<Derived> (null, "something");
		return 0;
	}
}