Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1061-5.cs
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
3
4 using System;
5 using System.Collections.Generic;
6 using System.Linq;
7
8 namespace Test
9 {
10         static class Ex
11         {
12                 public static IEnumerable<TR> Foo<T, TR> (this IEnumerable<T> t, Func<T, TR> f)
13                 {
14                         return null;
15                 }
16         }
17
18         public class C
19         {
20                 public static void Main ()
21                 {
22                         int[] i = null;
23                         int p;
24             var prods = from pe in i.Foo (p9 => p.Value) select pe;
25                 }
26         }
27 }