Skip to content

"Rename" of an implicit implementation of a static member doesn't rename corresponding declaration. Produces code with errors. #54026

@AlekseyTs

Description

@AlekseyTs
interface I1
{
    static abstract void M1();
}

class C1_1 : I1
{
    // Implicit implementation
    public static void M1() { }    
}

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

class C2_1 : I2
{
    // Implicit implementation
    public static int P2 { get; set; }
}

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

class C3_1 : I3
{
    // Implicit implementation
    public static event System.Action E3;
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions