dnSpyEx/dnSpy

Renaming virtuals should rename all overrides as well

cAttte opened this issue · 0 comments

Problem Description

When renaming virtual and abstract methods with the Edit method... menu, all overrides in sub-classes keep the old name and must be renamed individually (e.g. beforehand, through the Overridden By menu).

Proposal

It would be cool if the interface automagically renamed all overrides for consistency.

Edit: It might make more sense to edit all non-private sub-type members instead.

Additional Context

I'm browsing a (de-)obfuscated assembly with non-descriptive symbols, which I want to rename for easier reading. I'm assuming this is simply a missing feature, but in the strange case this is a bug I will try to provide an MRE.