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
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
errors
/
cs0165-52.cs
blob
904f7db487b0eff999f302d7d71784e10f04543f
1
// CS0165: Use of unassigned local variable `x'
2
// Line: 21
3
4
using
System
;
5
6
class
X
7
{
8
static bool
Foo
(
out int
x
)
9
{
10
x
=
5
;
11
return false
;
12
}
13
14
public static int
Main
()
15
{
16
int
x
;
17
try
{
18
throw new
ApplicationException
();
19
}
catch
when
(
Foo
(
out
x
)) {
20
return
1
;
21
}
catch
when
(
x
>
0
) {
22
return
0
;
23
}
24
}
25
}