static Task EvilMethod(Func<Task> next) { Console.WriteLine("Entering EvilMethod"); throw new InvalidOperationException(); }