Add EventHandler TokenType Support

We have naming guidelines for event handlers on my team and it would be super convenient to have an EventHandler TokenType in StyleCop to write those custom rules against. At the moment I have to ...

Id #7700 | Release: None | Updated: Apr 12 at 10:15 PM by lumberjack4 | Created: Apr 12 at 10:13 PM by lumberjack4

VS 2013 crashes if solution contains 'unloaded' projects

I have solution with several projects. If I unload some of them (right click and 'Unload Project' in Solution Explorer window) and then run StyleCop check on other files/project (and violations are...

Id #7699 | Release: None | Updated: Apr 13 at 10:44 AM by just_dmitry | Created: Apr 2 at 12:07 PM by just_dmitry

Custom rules not picke dup wth 4.7.49

Recently downloaded Style cop latest version 4.7.49. I created some cusotm rules and palced DLL's with the XML embedded to DLL in Stylecop folder. After when open the Stylecop settigns unable to se...

Id #7698 | Release: None | Updated: Mar 20 at 3:24 PM by santhimurthyd | Created: Mar 20 at 3:24 PM by santhimurthyd

SA1500 should support the default if...else... style

The following code will violate the rule SA1500: CurlyBracketsForMultiLineStatementsMustNotShareLine. if (a.IsEnum) { } else { } The above code is the style that VS recommended, I don't want chang...

Id #7697 | Release: None | Updated: Mar 20 at 10:17 AM by JasonMing | Created: Mar 20 at 10:17 AM by JasonMing

Unexpected token type.

Hi. StyleCop 4.7.49.0 ReSharper 8.2.3 Windows 7 Enterprise 64-Bit SP1 Visual Studio 2013 Update 4 Existing c# source code file with the following within a method: ObservableCollection<Custom...

Id #7696 | Release: None | Updated: Mar 13 at 1:14 AM by icnocop | Created: Mar 13 at 1:12 AM by icnocop

Right-clicking in a header file (.h) that's not included in the current project causes Visual Studio to display the error message "Must not be null"

Right-clicking in a header file (.h) that's not included in the current project causes Visual Studio to display the error message "Must not be null" Windows 7 x64 SP1 Visual Studio 2013 Premium ...

Id #7695 | Release: None | Updated: Feb 25 at 6:55 PM by icnocop | Created: Feb 25 at 6:54 PM by icnocop

SA1650 violation for 'RESTful' even after adding to known words

For some reason, StyleCop is seeing 'RESTful', and reporting Tful is not a word. It seems as though all-caps words are ignored. Yet when you switch to lower case such as this example, it takes t...

Id #7694 | Release: None | Updated: Feb 25 at 3:36 AM by icnocop | Created: Feb 22 at 4:02 PM by vossad01

Unable to download old versions of StyleCop

The old downloads page shows an access denied error when attempting to do a directory listing of older versions: http://stylecop.codeplex.com/wikipage?title=DownloadOlderVersions&referringTitle=Do...

Id #7693 | Release: None | Updated: Feb 12 at 9:41 PM by tshepherdkofax | Created: Feb 12 at 9:41 PM by tshepherdkofax

StyleCop Uninstallation

So, StyleCop is basically malware if you want to try and uninstall it. With VS2013U4 installed on Windows 8.1 and ReSharper 9 installed I mistakenly decided to give StyleCop a whirl on some recomme...

Id #7692 | Release: None | Updated: Feb 8 at 4:54 PM by zach_hu | Created: Feb 8 at 4:54 PM by zach_hu

Stylecop does not run in the build process

I tried installing stylecop with the windows installer, and later tried using the NuGet packages, but i keep facing the same problem: the only way to make stylecop look for error during build is if...

Id #7691 | Release: None | Updated: Jan 29 at 2:37 PM by Miguel_Ramirez | Created: Jan 29 at 2:36 PM by Miguel_Ramirez