Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Code action in BaseMethodParameterNameMismatchIssue doesn't rename symbols #434

@Rpinski

Description

@Rpinski

When an overridden method uses different parameter names than the virtual method in base class, the issue "Parameter name differs in base method declaration" is shown, with a code action to "Rename to 'xxxxxx'" on every parameter (implemented in BaseMethodParameterNameMismatchIssue). But this code action doesn't work, clicking on the "Rename" item does nothing.

I assume the reason is that the it calls Script.Rename(...) here, which is not implemented anywhere, neither in Script, nor in DocumentScript or EditorScript.

This might affect other built-in CodeIssues from NRefactory, too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions