1 // CS1985: The `await' operator cannot be used in a catch clause
5 using System.Threading.Tasks;
9 public static void Main ()
13 static async Task Test ()
18 } catch (NullReferenceException) if (await Foo ()) {
23 static Task<bool> Foo ()
25 throw new NotImplementedException ();