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
/
tests
/
test-async-88.cs
blob
813d51d6ce1348fc3dfca1ad3bae78aebead0964
1
using
System
;
2
using
System
.
Threading
.
Tasks
;
3
4
public class
Test
5
{
6
static async
Task
<
string
>
AsyncWithDeepTry
()
7
{
8
try
{
9
await
Task
.
Yield
();
10
11
try
{
12
await
Task
.
Yield
();
13
}
catch
{
14
}
15
}
catch
{
16
await
Task
.
Yield
();
17
}
finally
{
18
}
19
20
return null
;
21
}
22
23
24
static void
Main
()
25
{
26
AsyncWithDeepTry
().
Wait
();
27
}
28
}