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-04-06 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0177-4.cs
blob
71c4d057fcb81522017a3709f9badbc02c45553f
1
// cs0177-4.cs: 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