projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[bcl] Update tests that failed when .cs file contained CRLF
[mono.git]
/
mcs
/
tests
/
test-async-27.cs
1
using System;
2
using System.Threading;
3
using System.Threading.Tasks;
4
5
class MainClass
6
{
7
async static Task AsyncTest ()
8
{
9
var b = await Task.Factory.StartNew (() => 13);
10
}
11
12
public static void Main (string[] args)
13
{
14
for (int i = 0; i < 100; ++i)
15
AsyncTest ().Wait ();
16
}
17
}