2010-05-27 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs1061-5.cs
blobd1d3fb76fbdf2befd39b3e71c4751d591e5e3c48
1 // CS1061: Type `int' does not contain a definition for `Value' and no extension method `Value' of type `int' could be found (are you missing a using directive or an assembly reference?)
2 // Line: 24
4 using System;
5 using System.Collections.Generic;
6 using System.Linq;
8 namespace Test
10 static class Ex
12 public static IEnumerable<TR> Foo<T, TR> (this IEnumerable<T> t, Func<T, TR> f)
14 return null;
18 public class C
20 public static void Main ()
22 int[] i = null;
23 int p;
24 var prods = from pe in i.Foo (p9 => p.Value) select pe;