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
[amd64] Make inline function in header static
[mono-project.git]
/
mcs
/
tests
/
test-async-64.cs
blob
e16e12702922f5cd76f927a0cbb0319618932738
1
using
System
;
2
using
System
.
Threading
.
Tasks
;
3
4
class
X
5
{
6
public static void
Main
()
7
{
8
Invoke
(
async delegate
{
9
await
Task
.
Yield
();
10
return
1
;
11
});
12
}
13
14
static
T Invoke
<
T
> (
Func
<
Task
<
T
>>
m
)
15
{
16
return default
(
T
);
17
}
18
}