[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs1644-34.cs
blob847c6c115a336659ba527f31cd7450c5fe994b3b
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
5 using System;
7 class C
9 public void Foo ()
11 Action a = async () => { };