[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0815-8.cs
blob31ed6597ad2f7829c4a91facabe94540f58540c8
1 // CS0815: An implicitly typed local variable declaration cannot be initialized with `anonymous method'
2 // Line: 11
4 using System;
5 using System.Threading.Tasks;
7 class X
9 public static void Main ()
11 Task.Run(async () => { var a = async () => { }; Console.WriteLine(a); });