projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #260 from pcc/topmost
[mono.git]
/
mcs
/
tests
/
test-async-40.cs
1
using System;
2
using System.Threading.Tasks;
3
4
class Program
5
{
6
public class C
7
{
8
public void M ()
9
{
10
Console.WriteLine ("called");
11
}
12
}
13
14
public static void F (Action<C> a)
15
{
16
a (new C ());
17
}
18
19
public static void Main ()
20
{
21
F (async (c) => {
22
await Task.Run (() => { });
23
c.M ();
24
});
25
}
26
}
27