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
[sre] Wrap mono_image_create_token with HANDLE_FUNCTION_{ENTER,RETURN}
[mono-project.git]
/
mcs
/
tests
/
test-async-58.cs
blob
484746c8bcca99640ccf6aee2551f773afbf09b7
1
using
System
;
2
using
System
.
Threading
.
Tasks
;
3
4
public class
A
5
{
6
public int
Get
()
7
{
8
return
1
;
9
}
10
}
11
12
public class
B
:
A
13
{
14
public async
Task
<
int
>
GetAsync
()
15
{
16
return base
.
Get
();
17
}
18
19
static void
Main
()
20
{
21
new
B
().
GetAsync
().
Wait
();
22
}
23
}