Merge pull request #4202 from marek-safar/compression
[mono-project.git] / mcs / errors / cs7094.cs
blobd20ff207edc7d9dd5eafcb3fbaf65466f647c8f7
1 // CS7094: The `await' operator cannot be used in the filter expression of a catch clause
2 // Line: 12
4 using System.Threading.Tasks;
6 class Test
8 async static Task M1 ()
10 try {
12 catch when (await Task.Factory.StartNew (() => false)) {