projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5560 from kumpera/wasm-work-p3
[mono.git]
/
mcs
/
tests
/
test-async-28.cs
1
using System.Linq;
2
using System.Threading.Tasks;
3
4
class C
5
{
6
public static async Task Test ()
7
{
8
Task<int[]> d = Task.FromResult (new[] { 1, 4, 5 });
9
var r = from x in await d select x;
10
var res = r.ToList ();
11
}
12
13
public static void Main ()
14
{
15
Test ().Wait ();
16
}
17
}