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

gcs0411-16.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 57b7cc1f17859fd5755ea98478c297a65d2e128c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0411: The type arguments for method `M.Foo<T>(System.Func<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
// Line: 14

using System;

class M
{
	static void Foo<T> (Func<T> t)
	{
	}
	
	public static void Main ()
	{
		Foo (delegate { throw new Exception("foo"); });
	}
}