I must be doing something wrong because I always get a line break for compound if conditions. I'm using VS2012 with Resharper 7.1.3 and Stylecop as the plugin.
So for example:
if (queue.TryDequeue(out element) && oldElement == null)
if (queue.TryDequeue(out element)
&& oldElement == null)
The settings I believe should not allow this to happen are:
- Right margin: 160 (way too high value to force the lines to be choped)
- Force chop compound condition in "if" statement: off
Can anyone give me a hand with this one? Thanks.