projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Use temp directory for assemblies in SaveTest.Save() (#5727)
[mono.git]
/
mcs
/
errors
/
cs1656-3.cs
1
// CS1656: 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