Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 702 Bytes

RCS1090.md

File metadata and controls

42 lines (29 loc) · 702 Bytes

RCS1090: Add call to 'ConfigureAwait' (or vice versa)

Property Value
Id RCS1090
Category Design
Severity None

Example

Code with Diagnostic

public async Task FooAsync()
{
    await GetValueAsync(); // RCS1090
}

Code with Fix

public async Task FooAsync()
{
    await GetValueAsync().ConfigureAwait(false);
}

Options

Remove call to 'ConfigureAwait'

roslynator.RCS1090.invert = true

See Also

(Generated with DotMarkdown)