Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs1593-5.cs
1 // CS1593: Delegate `System.Action<System.Threading.Tasks.Task>' does not take `0' arguments
2 // Line: 17
3
4 using System;
5 using System.Threading.Tasks;
6 using System.Collections.Generic;
7
8 namespace CrashRepro.Core
9 {
10         public class X
11         {               
12                 async void Foo ()
13                 {
14                         var pushes = await Run ().ContinueWith (l =>
15                         {
16                                 for (int i = 0; i < 1; ++i)
17                                         Run ().ContinueWith(() => { });
18                         });
19                 }
20
21                 Task Run ()
22                 {
23                         return null;
24                 }
25         }
26 }
27