conwid / DependencyInjectionToolset

Other
12 stars 5 forks source link

Improves the refactor detection code #3

Closed GrantByrne closed 7 years ago

GrantByrne commented 7 years ago

This is a fix for issue #2

Previously this would only detect the refactoring under some special circumstances. Now it works as expected for selecting either the type or the property. It now also checks whether the method is the constructor. Previously this would throw an exception if you tried to use the refactor on a non-constructor method.