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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs0165-12.cs
blob
05e2fb2ac2344588a46bd3c9a896b99cd6b19c09
1
// CS0165: Use of unassigned local variable `foo'
2
// Line: 17
3
4
class
X
5
{
6
static void
Main
()
7
{
8
int
foo
;
9
10
int
i
=
0
;
11
if
(
i
==
1
)
12
goto
e
;
13
14
goto
f
;
15
16
b
:
17
i
+=
foo
;
18
19
c
:
20
goto
b
;
21
22
e
:
23
foo
=
5
;
24
25
f
:
26
goto
c
;
27
}
28
}