[mcs] Add expression bodied syntax for accessors. Fixes #54991
[mono.git] / mcs / errors / cs1644-34.cs
1 // CS1644: Feature `asynchronous functions' cannot be used because it is not part of the C# 4.0 language specification
2 // Line: 10
3 // Compiler options: -langversion:4
4
5 using System;
6
7 class C
8 {
9         public void Foo ()
10         {
11                 Action a = async () => { };
12         }
13 }
14