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-03-04 Astushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs1657.cs
blob
e537ea2b4152c8e61b841b61fcdc492e63efc805
1
// cs1657.cs: 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
}