In the following code there are two strange linebreaks in the "if" conditions. The "right margin" is set to 120 characters and the "Force Chop compound condition in "if" statement" is set to true in the ReSharper settings.
I would expect the first "if" to add a linebreak before the second condition and the second "if" to not insert a line break at all.
if (isTest == false && isTest != true &&
isTest2 != false) // MISSING LINEBREAK
{
isTest = true;
}
if (sQueryFields[nIndexQueryFields] ==
sAllFields[nIndexCell]) // STRANGE LINEBREAK
{
bFieldIsInQuery = true;
}
The code file and the ReSharper settings file are attached.
Regards,
Peter