Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

19 lines
323 B
C#

// CS1947: A range variable `v' cannot be assigned to. Consider using `let' clause to store the value
// Line: 15
using System;
using System.Linq;
class Test
{
public static int Main ()
{
int[] int_array = new int [] { 0, 1 };
var e = from int i in int_array
let v = true
where v = false
select v;
}
}