blob: e53a5a6b98c7a08f4431433d564d334b0d52f83c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// CS1940: Ambiguous implementation of the query pattern `Select' for source type `Multiple'
// Line: 10
class Multiple
{
delegate int D1 (int x);
delegate int D2 (int x);
int Select (D1 d)
{
return 0;
}
int Select (D2 d)
{
return 1;
}
public static void Main ()
{
var q = from x in new Multiple () select x;
}
}
|