I am pleased to announce that we’re released another build of StyleCop which includes multiple bugfixes as well as one significant new feature, the ability to insert in-code rule suppressions using the same attribute syntax as FxCop Code Analysis. For more information about rule suppressions, see this blog post: http://blogs.msdn.com/sourceanalysis/archive/2009/08/10/rule-suppressions.aspx
This release also fixes an issue accidently introduced into the last update which caused a bit of annoyance. It’s once again possible to “stack” your using statements such as:
using (Graphics g = this.CreateGraphics()) using (Form f = new Form()) using (Class c = new Class()) { // Do stuff }
Bugfixes:
Please upgrade to the new version at your earliest convenience:
Install link: https://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=sourceanalysis&ReleaseId=1425
Discussions: http://code.msdn.microsoft.com/sourceanalysis/Thread/List.aspx
Bugs: http://code.msdn.microsoft.com/sourceanalysis/WorkItem/List.aspx