Resharper refactoring