StyleCop.CSharp.Rules 6.2.0

.NET Framework 4.0
NuGet\Install-Package StyleCop.CSharp.Rules -Version 6.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package StyleCop.CSharp.Rules --version 6.2.0
<PackageReference Include="StyleCop.CSharp.Rules" Version="6.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StyleCop.CSharp.Rules --version 6.2.0
#r "nuget: StyleCop.CSharp.Rules, 6.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install StyleCop.CSharp.Rules as a Cake Addin
#addin nuget:?package=StyleCop.CSharp.Rules&version=6.2.0

// Install StyleCop.CSharp.Rules as a Cake Tool
#tool nuget:?package=StyleCop.CSharp.Rules&version=6.2.0

Contains C# StyleCop "Classic" analyzers that can be incorporated into other projects (such as ReSharper).

Product Versions
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on StyleCop.CSharp.Rules:

Repository Stars
Official ReSharper extension for StyleCop
Version Downloads Last updated
6.2.0 30,943 7/3/2020
6.1.0 15,961 4/9/2019
6.0.0 542 2/23/2019
6.0.0-beta04 520 11/24/2018
5.0.0 9,987 7/29/2017
5.0.0-beta02 722 4/30/2017
5.0.0-beta01 752 12/10/2016
5.0.0-alpha01 698 10/18/2016

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).