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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
test-async-80.cs
blob
3f2b1274a93f2a54a7c177b75567f7aac3936d97
1
using
System
.
Threading
.
Tasks
;
2
using
System
;
3
4
class
X
5
{
6
public async
Task Test
<
T
,
U
> (
int
arg
)
7
{
8
await
Task
.
Run
(
async
() => {
9
await
Task
.
Run
(
async
() => {
10
Console
.
WriteLine
(
this
);
11
});
12
return
arg
;
13
}
14
);
15
}
16
17
public static void
Main
()
18
{
19
new
X
().
Test
<
int
,
long
>(
1
).
Wait
();
20
}
21
}