Is there an automated way to update the code?

Jan 27, 2011 at 2:24 AM

When applying StyleCop to a legacy project, I typically encounter thousands of warnings.  Many of these warnings are trivial changes such as adjusting whitespace or inserting a "private" keyword, which have absolutely no effect on the code semantics.

Is there a tool that will automatically update the C# files to correct these issues?  It seems really ridiculous for a human to be doing that.

Feb 4, 2011 at 7:56 PM

R# does this kind of thing. StyleCop may have this functionality eventually.