views:

77

answers:

1

If I have a interface IUser and a class that implements IUser:

public class User : IUSer

and both files are in different folders, can't ReSharper figure this out and link the two if I need to push down a method to the interface and vice versa?

+3  A: 

If I create a class User and an interface IUser, R# allows me to refactor "Pull member up" and move a method from the class to the interface.

I can use "Push member down" to move code from the interface to the implementation again.

For my simple testcase (simple interface with one property, one class that implements it) this works as expected and as I'd use it. What's missing?

Benjamin Podszun