Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1022 Bytes

RR0209.md

File metadata and controls

42 lines (32 loc) · 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)