projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Use temp directory for assemblies in SaveTest.Save() (#5727)
[mono.git]
/
mcs
/
errors
/
cs1940.cs
1
// CS1940: Ambiguous implementation of the query pattern `Select' for source type `Multiple'
2
// Line: 10
3
4
class Multiple
5
{
6
delegate int D1 (int x);
7
delegate int D2 (int x);
8
9
int Select (D1 d)
10
{
11
return 0;
12
}
13
14
int Select (D2 d)
15
{
16
return 1;
17
}
18
19
public static void Main ()
20
{
21
var q = from x in new Multiple () select x;
22
}
23
}