Remove redundant file from Java build
[mono.git] / mcs / errors / gcs1942-2.cs
1 // CS1942: Type inference failed to infer type argument for `select' clause. Try specifying the type argument explicitly
2 // Line: 
3 // Compiler options: -langversion:linq
4
5 using System;
6
7 class TestA
8 {
9         public string Select<U> (Func<TestA, U> f)
10         {
11                 return "";
12         }
13 }
14
15 public class C
16 {
17         static void Main ()
18         {
19                 string foo = from a in new TestA () select null;
20         }
21 }