Merge pull request #3585 from lateralusX/jlorenss/win-counter-warning
[mono.git] / mcs / errors / cs1593-6.cs
1 // CS1593: Delegate `System.Action<System.Exception,object>' does not take `1' arguments
2 // Line: 16
3
4 using System;
5 using System.Threading.Tasks;
6
7 class MainClass
8 {
9         public static void Run (Func<Task> func)
10         {
11         }
12
13         public static void Main (string[] args)
14         {
15                 Run(async () => {
16                         Function(async (handle) => {
17                         });
18                 });
19         }
20
21         public static void Function (Action<Exception, object> callback)
22         {
23         }
24 }