2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs1947.cs
blob3d5869c99bfd3aaea68292acea647aba726cf98e
1 // CS1947: A range variable `v' cannot be assigned to. Consider using `let' clause to store the value
2 // Line: 15
4 using System;
5 using System.Linq;
7 class Test
9 public static int Main ()
11 int[] int_array = new int [] { 0, 1 };
13 var e = from int i in int_array
14 let v = true
15 where v = false
16 select v;