blob: d437e01fcd2338726de45c5a755202b9ee994ebb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// CS1661: Cannot convert `anonymous method' to delegate type `System.Predicate<T>' since there is a parameter mismatch
// Line: 8
class Test<T>
{
void test (Test<T> t, System.Predicate<T> p)
{
test (t, delegate (Test<T> item) {
return false;
});
}
}
|