Resharper clean code