blob: 31ed6597ad2f7829c4a91facabe94540f58540c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// CS0815: An implicitly typed local variable declaration cannot be initialized with `anonymous method'
// Line: 11
using System;
using System.Threading.Tasks;
class X
{
public static void Main ()
{
Task.Run(async () => { var a = async () => { }; Console.WriteLine(a); });
}
}
|