[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs1593-6.cs
blob7978b8999a63ea895c1a48fa5783b67fd4f355d6
1 // CS1593: Delegate `System.Action<System.Exception,object>' does not take `1' arguments
2 // Line: 16
4 using System;
5 using System.Threading.Tasks;
7 class MainClass
9 public static void Run (Func<Task> func)
13 public static void Main (string[] args)
15 Run(async () => {
16 Function(async (handle) => {
17 });
18 });
21 public static void Function (Action<Exception, object> callback)