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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0165-7.cs
blob
3cffc1b49fdf67576f1da7dccd33c3edc516c85c
1
// cs0165-7.cs: Use of unassigned local variable `service'
2
// Line: 16
3
using
System
;
4
5
public class
Foo
6
{
7
static void
Main
(
string
[]
args
)
8
{
9
int
service
;
10
11
for
(
int
pos
=
0
;
pos
<
args
.
Length
;
pos
++) {
12
service
=
1
;
13
break
;
14
}
15
16
Console
.
WriteLine
(
service
);
17
}
18
}