for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs1061-5.cs
blobbeccfcd7dfc74cab5c883e270b5a7d30161f9926
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 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;