Skip to content

Treat 'Synchronously' as a suffix for synchronous methods #331

@sharwell

Description

@sharwell

Is your feature request related to a problem? Please describe.

Roslyn uses the following method pairs in some cases:

T SomeMethodSynchronously();
Task<T> SomeMethodAsync();

Describe the solution you'd like

It would be nice if the existing analysis for usage of asynchronous methods considered the naming convention above as a pair, similar to the current treatment of SomeMethod/SomeMethodAsync as a pair.

Describe alternatives you've considered

Renaming the methods in Roslyn, but the convention doesn't appear unreasonable or burdensome on the analyzer implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions