projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #4998 from kumpera/fix_56684
[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
}
11
}
12
13
public static void F (Action<C> a)
14
{
15
a (new C ());
16
}
17
18
public static void Main ()
19
{
20
F (async (c) => {
21
await Task.Run (() => { });
22
c.M ();
23
});
24
}
25
}
26