StyleCop.CSharp.Rules 6.1.0

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

Install-Package StyleCop.CSharp.Rules -Version 6.1.0
dotnet add package StyleCop.CSharp.Rules --version 6.1.0
<PackageReference Include="StyleCop.CSharp.Rules" Version="6.1.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.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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

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

Repository Stars
Official ReSharper extension for StyleCop

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
6.1.0 5,720 4/9/2019
6.0.0 198 2/23/2019
6.0.0-beta04 163 11/24/2018
5.0.0 9,150 7/29/2017
5.0.0-beta02 310 4/30/2017
5.0.0-beta01 348 12/10/2016
5.0.0-alpha01 297 10/18/2016