Skip to content

"Rename" of an explicit implementation of a static property/event doesn't rename corresponding declaration. Produces code with errors. #54027

@AlekseyTs

Description

@AlekseyTs
interface I2
{
    abstract static int P2 { get; set; }
}

class C2_2 : I2
{
    // Explicit implementation
    static int I2.P2 { get; set; }
}

interface I3
{
    abstract static event System.Action E3;
}

class C3_2 : I3
{
    // Explicit implementation
    static event System.Action I3.E3
    {
        add { }
        remove { }
    }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions