I'm using Machine.Specifications and I'm really annoyed by how VS2010/Resharper keeps trying to format my code... for example:
Establish context = () => the_cartoon_repository = DependencyOf<INHibernateRepository<Cartoon>>();
Gets turned into:
private Establish context = () => the_cartoon_repository = DependencyOf<INHibernateRepository<Cartoon>>();
As soon as I press enter. Argh! There's got to be a way around this, no?
ReSharper options > Laguages > C# > Other > Modifiers:
Uncheck the Use explicit private modifier
.