2 using System
.Collections
.Generic
;
5 namespace NameCollisionTest
14 public static IEnumerable
<TR
> Foo
<T
, TR
> (this IEnumerable
<T
> t
, Func
<T
, TR
> f
)
16 yield return f (t
.First ());
22 public static void Main ()
24 Data
[] i
= new Data
[0];
25 var prods
= from pe
in i
.Foo (pe
=> pe
.Value
) where pe
> 0 select pe
;