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

gcs0408.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 54c77c160e381b723e5c15aa0302fad0f537edc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0408: `X<T>' cannot define overload members that may unify for some type parameter substitutions
// Line: 9
class X<T>
{
	public void Foo (T t)
	{ }

	public void Foo (int i)
	{ }
}

class X
{
	static void Main ()
	{ }
}