Skip to main content

RCS1046: Asynchronous method name should end with 'Async'

Properties​

PropertyValue
Default Severitydisabled 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);
}

Applies to​