blob: 03a71197aa02571c44cf47d1f0430a4ca05ae282 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// CS1678: Parameter `1' is declared as type `T' but should be `IStream<T>'
// Line: 14
using System;
interface IStream<T>
{
}
static class X
{
public static IStream<U> Select<T, U> (IStream<T> stream, Func<IStream<T>, U> selector)
{
return Select<T, U> (stream, (T _) => selector(stream));
}
}
|