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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs0177-7.cs
blob
59042c940d0199c83d0310dc848dca82859a6a05
1
// CS0177: The out parameter `a' must be assigned to before control leaves the current method
2
// Line: 6
3
4
class
Foo
{
5
static void
test39
(
out int
a
)
6
{
7
int
x_0
=
0
;
8
int
ll_1
=
0
;
9
10
switch
(
0
) {
11
default
:
12
switch
(
x_0
) {
13
default
:
14
if
(
ll_1
==
0
)
15
break
;
16
else
17
goto
k_1
;
18
}
19
a
=
5
;
20
break
;
21
k_1
:
22
break
;
23
}
24
}
25
26
static void
Main
()
{ int x; test39 (out x); }
27
}
28