StyleCop 6.2.0

The core StyleCop "Classic" library that is used to create and use parsers and analyzers.

Install-Package StyleCop -Version 6.2.0
dotnet add package StyleCop --version 6.2.0
<PackageReference Include="StyleCop" Version="6.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StyleCop --version 6.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

For 6.2.0:
-Fixed ArgumentNullException on indexer initializer for dictionary (#214).
-Removed lingering usage of StyleCop.targets installed by StyleCop 4.7.

For 6.1.0:
-Added support for Visual Studio 2019 and newer.
-Fixed parsing of default value expressions without a specified type (#172).

For 6.0.0:
-Fixed parsing of switch statements with pattern matching (#154).
-Fixed parsing of nullable ValueTuple types (#163).
-Fixed parsing of pattern-matching expressions in LINQ statements (#171).
-Fixed parsing of ValueTuple types in foreach statements (#179).
-Fixed parsing of a local function with a namespace-qualified return type (#191).
-Fixed parsing of interpolated strings containing an "at" symbol (#192).
-Fixed parsing of variables named "yield" (#195).
-Fixed parsing of inline "out" variables.
-Fixed parsing of nullable local functions.
-Fixed analysis of spacing when the return type of a method is a Task with a ValueTuple result type (#141).
-Fixed the directory used when searching for a local copy of spelling libraries (#160).
-Included the local directory when searching for add-ins (#50).
-Expanded the supported target versions of Visual Studio Professional (#166).
-Made the "don't care" identifier (i.e. a single underscore character) acceptable (#140).

Dependencies

This package has no dependencies.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on StyleCop:

Package Downloads
StyleCop.CSharp
Contains the C# StyleCop "Classic" parser and classes used to create C# analyzers.
StyleCop.CSharp.Rules
Contains C# StyleCop "Classic" analyzers that can be incorporated into other projects (such as ReSharper).
Wolfpack.Contrib.Checks.CpuThreshold
Wolfpack.Contrib.Checks.CpuThreshold
Wolfpack.Contrib.Checks.RegistryAlarms
Wolfpack.Contrib.Checks.RegistryAlarms
Wolfpack.Contrib.Startup.MacAddresses
Wolfpack.Contrib.Startup.MacAddresses

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on StyleCop:

Repository Stars
dotnet/ef6
This is the codebase for Entity Framework 6 (previously maintained at https://entityframework.codeplex.com). Entity Framework Core is maintained at https://github.com/dotnet/efcore.
aspnet/AspNetWebStack
ASP.NET MVC 5.x, Web API 2.x, and Web Pages 3.x (not ASP.NET Core)
StyleCop/StyleCop.ReSharper
Official ReSharper extension for StyleCop
imsardine/winappdriver
WebDriver for Windows Applications

Version History

Version Downloads Last updated
6.2.0 9,730 7/3/2020
6.1.0 108,033 4/9/2019
6.0.0 15,554 2/23/2019
6.0.0-beta04 7,906 11/24/2018
5.0.0 229,050 7/29/2017
5.0.0-beta02 1,841 4/30/2017
5.0.0-beta01 4,351 12/10/2016
5.0.0-alpha01 886 10/18/2016
4.7.55 87,937 11/11/2016
4.7.49 207,078 4/1/2014
4.7.44 38,499 1/11/2013
4.7.43 786 1/11/2013
4.7.41 3,129 10/5/2012
4.7.39 880 9/28/2012
4.7.37 1,827 9/14/2012
4.7.33 3,264 6/29/2012
4.7.32 847 6/22/2012
4.7.30 936 6/6/2012
4.7.29 1,085 6/5/2012
4.7.28 827 6/1/2012
4.7.27 817 5/29/2012
4.7.26 806 5/25/2012
4.7.25 811 5/24/2012
4.7.10 41,379 2/16/2012
4.5.25 3,363 6/30/2011
4.5.22 900 6/24/2011
4.5.21 902 6/23/2011
4.5.18 992 6/9/2011
4.5.17 901 6/6/2011
4.5.16 1,076 5/22/2011
4.5.14 939 5/15/2011
4.5.13 978 4/20/2011
4.5.12 1,999 4/16/2011