RCS1174: Remove redundant async/await
Properties
Property | Value |
---|---|
Default Severity | disabled by default |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
public static async Task<object> FooAsync()
{
return await GetAsync().ConfigureAwait(false);
}
fix.cs
public static Task<object> FooAsync()
{
return GetAsync();
}