Skip to content

Should not offer "Implement interface" if only "Implement interface explicitly" is legal #4146

@latkin

Description

@latkin

If signatures in an interface include inaccessible types, it is only legal for a public type to explicitly implement that interface.

I still get a lightbulb suggestion/refactoring to try the (bogus) implicit implementation:

image

It would be nice if only "Implement interface explicitly" was offered in this scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEBughelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions