Fetching contributors…
Cannot retrieve contributors at this time
37 lines (27 sloc) 849 Bytes

RCS1046: Asynchronous method name should end with 'Async'

Property Value
Id RCS1046
Category Naming
Default Severity Info
Enabled by Default -
Supports Fade-Out -
Supports Fade-Out Analyzer -


Code with Diagnostic

public static async Task<bool> Foo() // RCS1046
    return await Task.FromResult(false);

Code with Fix

public static async Task<bool> FooAsync()
    return await Task.FromResult(false);

See Also

(Generated with DotMarkdown)