// CS0121: The call is ambiguous between the following methods or properties: `Test.Foo(int, System.Linq.Expressions.Expression>)' and `Test.Foo(int, System.Func)' // Line: 22 using System; using System.Linq; using System.Linq.Expressions; class Test { static int Foo (T t, Expression> e) { return 5; } static int Foo (T t, Func e) { return 0; } static void Main () { Foo (1, i => i); } }