Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 618 Bytes

RCS1174.md

File metadata and controls

34 lines (24 loc) · 618 Bytes

RCS1174: Remove redundant async/await

Property Value
Id RCS1174
Category Redundancy
Severity None

Example

Code with Diagnostic

public static async Task<object> FooAsync() // RCS1174
{
    return await GetAsync().ConfigureAwait(false);
}

Code with Fix

public static Task<object> FooAsync()
{
    return GetAsync();
}

See Also

(Generated with DotMarkdown)