I want to refactor multiple classes that I think should derive from one base class.
How to properly accomplish this refactoring using ReSharper 6 ? I can extract superclass from one of the classes, but what next? Do I have to manually then derive from this base class and search for same members in every class I want to be derived?
BaseClassor somethingBaseClass2or somethingBaseClassandBaseClass2line for line. If they’re not identical, then refactor them to make them identical.BaseClass2toBaseClassBaseClass2Repeat as required.
Note this is pretty much the same procedure to use when you find some common code you feel should be all a single method.