SharpSource icon indicating copy to clipboard operation
SharpSource copied to clipboard

Implement AwaitTaskBeforeReturning

Open Vannevelj opened this issue 2 years ago • 1 comments

Replace

private Task DoThing()
{
    return someTask;
}

with

private async Task DoThing()
{
    return await someTask;
}

Vannevelj avatar Oct 16 '22 21:10 Vannevelj

https://twitter.com/codeopinion/status/1766148463828373751?t=DQ5PXzwiJAKwod-p2ufODw&s=19

Vannevelj avatar Mar 08 '24 18:03 Vannevelj