resharper code cleanup