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
Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git]
/
mcs
/
tests
/
test-async-38.cs
blob
cdd22347d21bc8fc6f1a6d2400325f2428dea4f0
1
using
System
;
2
using
System
.
Threading
.
Tasks
;
3
4
class
C
5
{
6
void
Test
()
7
{
8
Func
<
Task
<
int
>>
f
=
async
() => {
9
await
GetResultsAsync
(
null
);
10
return
2
;
11
};
12
13
f
();
14
}
15
16
Task
<
int
>
GetResultsAsync
(
object
arg
)
17
{
18
return null
;
19
}
20
21
public static void
Main
()
22
{
23
new
C
().
Test
();
24
}
25
}