projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git]
/
mcs
/
errors
/
cs0177-15.cs
1
// CS0177: The out parameter `x' must be assigned to before control leaves the current method
2
// Line: 6
3
4
public class GotoWithOut
5
{
6
public static void Test (bool cond, out int x)
7
{
8
if (cond)
9
{
10
goto Label2;
11
}
12
else
13
{
14
goto Label;
15
}
16
Label:
17
x = 0;
18
Label2:
19
return;
20
}
21
}