ReSharp refactor