Fix Bugs: (LINQPad 6) await in C# Statements
Using "await foreach(...)" in C# statements causes a compiler error unless an expression is also awaited: CS4033 The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.
So "await Task.Yield(); await foreach(...)" works as expected, while "await foreach(...)" doesn't.
As an aside: VB Statements/Espression don't seem support Async/Await at all currently. I am not really affected by it because I don't use it, but I thought this might be worth noting nonetheless. This also applies to LINQPad 5
Fixed in 6.2.2