Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (32 sloc) 1022 Bytes

Remove async/await

Property Value
Id RR0209
Title Remove async/await
Syntax method declaration, local function, lambda, anonymous method
Span async keyword
Enabled by Default

Usage

Before

class C
{
    async Task<object> FooAsync()
    {
        return await BarAsync().ConfigureAwait(false);
    }
}

After

class C
{
    Task<object> FooAsync()
    {
        return BarAsync();
    }
}

See Also

(Generated with DotMarkdown)