Is there a way to do a Break Out Method Object refactoring
In Michael Feathers' book Working Effectively with Legacy Code he describes Break Out Method Object as a way to move a method to another/new class when converting to a static is not possible. Is there a way to Move Non-Static / Break Out Method Object in ReSharper?
The Make Method Static -> Move Static -> Make Method Non-Static approach does not work in my use cases. Trying to Make Method Non-Static results in a message box that says "Method has no suitable parameter that can be made into 'this'".
Please sign in to leave a comment.