2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / gcs1940.cs
blobe53a5a6b98c7a08f4431433d564d334b0d52f83c
1 // CS1940: Ambiguous implementation of the query pattern `Select' for source type `Multiple'
2 // Line: 10
4 class Multiple
6 delegate int D1 (int x);
7 delegate int D2 (int x);
9 int Select (D1 d)
11 return 0;
14 int Select (D2 d)
16 return 1;
19 public static void Main ()
21 var q = from x in new Multiple () select x;