[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs4034.cs
blob7d8afd1e1dc1f0f20b618e3d28a52900e6b507fe
1 // CS4034: The `await' operator can only be used when its containing lambda expression is marked with the `async' modifier
2 // Line: 11
4 using System;
5 using System.Threading.Tasks;
7 class C
9 public void Test ()
11 Action a = () => await Task.FromResult (1);