projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
tests
/
test-897.cs
1
using System;
2
3
class X
4
{
5
static int Foo ()
6
{
7
throw new ApplicationException ();
8
}
9
10
public static int Main ()
11
{
12
try {
13
var b = Foo () is object;
14
return 1;
15
} catch (ApplicationException) {
16
}
17
18
try {
19
var b = Foo () as object;
20
return 2;
21
} catch (ApplicationException) {
22
}
23
24
return 0;
25
}
26
}