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
avoid using a custom sources file for the net_2_1_raw profile
[mcs.git]
/
errors
/
cs0230.cs
blob
327eb6137aae4064b7a604eff65b08c26674e17a
1
// CS0230.cs: Type and identifier are both required in a foreach statement
2
// Line: 12
3
4
using
System
;
5
6
class
X
7
{
8
public static void
Main
()
9
{
10
int
[]
a
=
new int
[
5
]
{5, 4, 3, 2, 1}
;
11
12
foreach
(
int in
a
) {
13
Console
.
WriteLine
(
x
);
14
}
15
}
16
}