Handle async return methods
janpieterz opened this issue · comments
Methods that have a signature of async void
are currently not executed correctly.
Workaround is to return a task, however it would be nice to make sure we handle this.
Async methods have the attribute System.Runtime.CompilerServices.AsyncStateMachineAttribute
Since it's quite widespread advice not to use async void
and the cases where lambda's etc create these by default, we'll skip this one for now.