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
[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git]
/
mcs
/
tests
/
test-async-05.cs
blob
df57e8a3a5eb40026cd24ba2acf5bd6f837826ca
1
using
System
.
Threading
.
Tasks
;
2
3
class
C
4
{
5
public async
Task
SynchronousCall
(
int
arg
)
6
{
7
AnotherTask
(
arg
);
8
}
9
10
Task
AnotherTask
(
int
arg
)
11
{
12
return
Task
.
FromResult
(
arg
);
13
}
14
15
public static void
Main
()
16
{
17
new
C
().
SynchronousCall
(
1
);
18
}
19
}