repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-05-13 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs1947.cs
blob
3d5869c99bfd3aaea68292acea647aba726cf98e
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
}