codeowners update
[mono.git] / mcs / tests / test-async-90.cs
1 using System.Threading.Tasks;
2
3 static class Y
4 {
5     public static string ExCall (this X x)
6     {
7         return null;
8     }
9 }
10
11 class X
12 {
13     static X Test (object o)
14     {
15         return null;
16     }
17
18     X Prop { get; set;}
19
20     X Call ()
21     {
22         return null;
23     }
24
25     public static void Main ()
26     {
27         var x = new X ();
28         x.Test ().Wait ();
29     }
30
31     async Task Test ()
32     {
33         var x = X.Test (await Task.FromResult (1))?.Prop?.ExCall ();
34     }
35 }