Skip to content

If method returns a Task it should have the postfix "Async" #178

@giggio

Description

@giggio

This is a convention in .NET, so:

Task Foo() { }

Becomes:

Task FooAsync() { }

The async keyword is not necessary for the method to have the Async postfix.
When renaming the method, all references have to be renamed as well and no code should break.

Category: Style
Diagnostic Id: CC0061
Severity: Info

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions