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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0177-4.cs
blob
be21c2901a5465492b745676ba1b91d095a2579a
1
// CS0177: The out parameter `f' must be assigned to before control leaves the current method
2
// Line: 5
3
4
class
C
{
5
public static void
test
(
int
a
,
out float
f
)
6
{
7
do
{
8
// CS0177
9
if
(
a
==
8
) {
10
System
.
Console
.
WriteLine
(
"Hello"
);
11
return
;
12
}
13
}
while
(
false
);
14
15
f
=
1.3
F
;
16
return
;
17
}
18
}
19