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-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
errors
/
cs1656-6.cs
blob
10aadebeaacefe265e6074ecfdbe4ce5dfceee92
1
// CS1656: Cannot assign to `i' because it is a `foreach iteration variable'
2
// Line: 9
3
4
class
Test
5
{
6
static void
Main
()
7
{
8
foreach
(
int
i
in new int
[]
{ 1, 2}
)
9
i
++;
10
}
11
}