ReSharper newbie here, playing with it against an existing .NET (C#) solution. So far, I'm pretty impressed with all the refactoring suggestions. There's just one *teensy* style where my opinion differs, and I can't figure out how to change the default behavior. I'm sure there's a way, I just can't come up with the right search incantation.
Consider the following (ultra-simplified) construct:
private Foo _myVar = null;
public Foo MyVar
if(_myVar == null)
_myVar = GetFoo();
By default, R# will shift the private variable to the top of the class, along with all the other private variables. *I* prefer to keep the private variable right next to the property that controls it. Ignoring for the moment the argument about which way is "right", is there an easy way to persuade R# to do what I want? Assuming there is, what would I lose if I chose to enforce this (I assume I have to lose something in the compromise).