When VS sees that you are await
ing within a non-async method, it shows you an error.
When selecting to fix that error by adding async
to the method signature - VS also changes void
to Task
(which then has to be manually fixed for event handlers). Is there a way to prevent that?
VS also appends "Async" to the method name. Is there a way to prevent that? (It was asked here Visual Studio 2017 force to add "async" at method name when use suggest (Ctrl + .) and it looks like we're waiting for MS to fix that. Perhaps it's already fixed?)