[mcs] Allows shadowing of probing pattern variables
[mono.git] / mcs / errors / cs1936.cs
1 // CS1936: An implementation of `Select' query expression pattern for source type `Item' could not be found
2 // Line: 16
3
4
5 using System.Linq;
6
7 class Item
8 {
9 }
10
11 public static class Test
12 {
13         static void Main ()
14         {
15                 var v = new Item ();
16                 var foo = from a in v select a;
17         }
18 }