refractoring with resharper