RCS1046: Asynchronous method name should end with 'Async'
Properties
Property | Value |
---|---|
Default Severity | disabled by default |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
public static async Task<bool> Foo()
{
return await Task.FromResult(false);
}
fix.cs
public static async Task<bool> FooAsync()
{
return await Task.FromResult(false);
}