repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[cominterop] Default to [in] parameter direction when not specified explicitly.
[mono-project.git]
/
mcs
/
errors
/
cs1657.cs
blob
ef0d48b75d10c56466a6c4dfa5cee91b0843b4cb
1
// CS1657: Cannot pass `i' as a ref or out argument because it is a `foreach iteration variable'
2
// Line: 9
3
4
class
E
5
{
6
public
E
(
int
[]
args
)
7
{
8
foreach
(
int
i
in
args
)
9
Init
(
ref
i
);
10
}
11
12
void
Init
(
ref int
val
) {}
13
14
}