ReSharper is smarter than me
Given the following block of code:
if (presenter.GetServerUrlFromRequest!=null) GetServerUrlFromRequest.Checked = presenter.GetServerUrlFromRequest.Value; else GetServerUrlFromRequest.Checked = true;
Resharper gave me the following advice:
And turned the code to this piece:
GetServerUrlFromRequest.Checked = !(presenter.GetServerUrlFromRequest!=null) ||
presenter.GetServerUrlFromRequest.Value;
And while it has the same semantics, I actually had to dechiper the code to figure out what it was doing.
I choose to keep the old version.

Comments
Comment preview