Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git] / mcs / errors / cs4035.cs
blobd50d5feb1a41c58111388d6c7ff464b1640cd29c
1 // CS4035: The `await' operator can only be used when its containing anonymous method 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 = delegate { await Task.FromResult (1); };