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
2010-01-03 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs1656-3.cs
blob
2d80c903c2b69c055502696865a3db2b8939ebdd
1
// cs1656-3.cs: Cannot assign to `i' because it is a `foreach iteration variable'
2
// Line: 9
3
4
class
X
{
5
6
static void
Main
()
7
{
8
foreach
(
int
i
in new int
[]
{ 2, 3 }
) {
9
i
=
4
;
10
}
11
}
12
}
13