Skip to content

'Implement abstract class' misbehaves when ending generic angle bracket is missing #30102

@jnm2

Description

@jnm2

Visual Studio 15.8.5

abstract class A<T>
{
    public abstract void AbstractMethod();
}

class B : A<int
{

}

When 'Implement abstract class' is invoked:

abstract class A<T>
{
    public abstract void AbstractMethod();
}

class B : A<int
{
{
    public override void AbstractMethod()
    {
        throw new NotImplementedException();
    }
}

}

Would be nice to at least keep from adding the duplicate braces if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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