Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

24 lines
334 B
C#

// 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;
}
}