Skip to content

RCS1046 is reported in class implementing interface #1118

@hankovich

Description

@hankovich

Product and Version Used: latest

Actual Behavior:

interface IStupidInterface // from nuget
{
    Task Foo();
}

public sealed class MyAwesomeImplementation : IStupidInterface // in my solution
{
    public Task Foo() => Task.CompletedTask; // RCS1046 Asynchronous method name should end with 'Async' is reported here
}

Expected Behavior:

Methods overriding methods from the base class either methods that implement interface should be ignored even if their name does not finish with Async

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