Skip to content

IDE0040 warns to add accessibility modifiers to explicitly-implemented static interface methods #58914

@stephentoub

Description

@stephentoub

Version Used:
Version 17.1.0 Preview 3.0 [32113.165.d17.1]

Steps to Reproduce:
Explicitly implement a static interface method, e.g.
image

Expected Behavior:
No warning.

Actual Behavior:
IDE0040 warns that a visibility should be added. But visibility isn't supported:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEuntriagedIssues and PRs which have not yet been triaged by a lead

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions