Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs1947.cs
1 // CS1947: A range variable `v' cannot be assigned to. Consider using `let' clause to store the value
2 // Line: 15
3
4 using System;
5 using System.Linq;
6
7 class Test
8 {
9         public static int Main ()
10         {
11                 int[] int_array = new int [] { 0, 1 };
12                 
13                 var e = from int i in int_array
14                         let v = true
15                         where v = false
16                         select v;
17         }
18 }