Extract New Class Refactoring Request #73178
Labels
Area-IDE
Feature Request
Need Design Review
The end user experience design needs to be reviewed and approved.
Milestone
Brief description:
Sometimes code has properties like this:
Which should, ideally, be code like this:
A refactoring should exist that enables this kind of conversion.
Languages applicable:
Both, but I only care about C#
Code example that the analyzer should report:
See above
Additional information:
This is identical to the "Extract Base Class" refactoring except the members should be wrapped into a child class instead of a base class.
It is OK if it simply moved the members and a subsequent refactoring would be used to rename them.
For example, after the first refactoring, you might have:
Documentation requirements:
When this analyzer is implemented, it must be documented by following the steps at Documentation for IDE CodeStyle analyzers.
The text was updated successfully, but these errors were encountered: