ReSharper optimization 2