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
for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git]
/
mcs
/
errors
/
cs0165-8.cs
blob
ea6411b797813a385df0ecd3f13d0b1476c4d5d8
1
// CS0165: Use of unassigned local variable `service'
2
// Line: 17
3
using
System
;
4
5
public class
Foo
6
{
7
static void
Main
()
8
{
9
int
service
;
10
11
foreach
(
char
b
in
"hola"
) {
12
Console
.
WriteLine
(
b
);
13
service
=
1
;
14
break
;
15
}
16
17
Console
.
WriteLine
(
service
);
18
}
19
}