Apr 2, 2014 at 3:42 PM
StyleCop rule SA1119 is violated by the following line:
bool b = (n == m);
Is StyleCop's opinion that the following line is more maintainable?
bool b = n == m;
The second line does not violate SA1119, whilst the first one does. I think SA1119 is a very useful and reasonable rule in general, but the above behaviour is in my eyes a reason not to use SA1119 (I'm no big fan of suppressions). Is there a particular reason for this behaviour? Could it be changed?