if (1.0 != 1.0) {
for (int i=0; i<n; i++) {
b[i] = a[i]*1;
}
}
else {
for (int i=0; i<n; i++) {
b[i] = a[i];
}
}
Resharper says "Expression is always true" and offers to "Remove unreachable code" in a quickfix.
However, when applying the quickfix it removes the else part as well and leaves only a semicolon.