Skip to content

Implement abstract class fixer adds static and doesn't add override modifier for an assignment operator #78282

@AlekseyTs

Description

@AlekseyTs
abstract class C1
{
    abstract public void operator ++();

    abstract public void operator -=(int i);
}


class C2 : C1
{
    public static void operator -=(int i)
    {
        throw new NotImplementedException();
    }

    public static void operator ++()
    {
        throw new NotImplementedException();
    }
}

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