StyleCop.CSharp 5.0.0-beta02

This is a prerelease version of StyleCop.CSharp.
There is a newer version of this package available.
See the version list below for details.
dotnet add package StyleCop.CSharp --version 5.0.0-beta02
NuGet\Install-Package StyleCop.CSharp -Version 5.0.0-beta02
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.
<PackageReference Include="StyleCop.CSharp" Version="5.0.0-beta02" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StyleCop.CSharp --version 5.0.0-beta02
#r "nuget: StyleCop.CSharp, 5.0.0-beta02"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install StyleCop.CSharp as a Cake Addin
#addin nuget:?package=StyleCop.CSharp&version=5.0.0-beta02&prerelease

// Install StyleCop.CSharp as a Cake Tool
#tool nuget:?package=StyleCop.CSharp&version=5.0.0-beta02&prerelease

Contains the C# StyleCop parser and classes used to create C# analyzers.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on StyleCop.CSharp:

Package Downloads
StyleCop.CSharp.Rules

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.2.0 37,820 7/3/2020
6.1.0 18,574 4/9/2019
6.0.0 1,082 2/23/2019
6.0.0-beta04 794 11/24/2018
5.0.0 15,142 7/29/2017
5.0.0-beta02 898 4/30/2017
5.0.0-beta01 926 12/10/2016
5.0.0-alpha01 904 10/18/2016

* Fixed the parsing of backslashes in multi-line interpolated string literals (GitHub issue #88)
* Fixed the name of the default settings file included in the VSIX (changed from DefaultSettings.StyleCop to Settings.StyleCop)
* Changed SA1202 to be more permissive with dependency properties (GitHub issue #51)
* Added parser support for pattern matching (GitHub issue #106)
* Added parser support for throw expressions (GitHub issue #92)
* Added parser support for binary literals and digit separators (GitHub issue #94)
* Added parser support for ref returns and ref locals
* Added parser support for local functions
* Added parser support for tuple types and tuple literals
* Added parser support for deconstruction

For 5.0.0-beta01:
* Renamed SA1216:NoValueFirstComparison to SA1131:UseReadableConditions to match the StyleCopAnalyzers project (CodePlex issue #7737)
* Renamed SA1217:UsingStaticDirectivesMustBePlacedAfterUsingNamespaceDirectives to SA1216:UsingStaticDirectivesMustBePlacedAtTheCorrectLocation to match the StyleCopAnalyzers project (CodePlex issue #7738)
* Fixed a potential IndexOutOfRangeException when parsing newline characters near a ternary operator (CodePlex issues #7748, #7743, #7742)
* Modified CurlyBracketsForMultiLineStatementsMustNotShareLine to allow object and collection initializers on a single line within a multi-line lambda.
* Documentation of all <exception> elements is now checked, instead of just the first one (CodePlex issue #7731)
* Fixed parsing of fields or method parameters with a type similar to int?, (CodePlex issue #7729)
* Stopped reporting SA1648:InheritDocMustBeUsedWithInheritingClass if the documentation includes a cref attribute (CodePlex issue #7488)
* Included preferred alternate spellings when spellchecking (CodePlex issue #7733)
* Documentation rules are no longer checked if an <exclude/> tag is present (CodePlex issue #7732)
* Added support for Office 2013 and 2016 (including click-to-run installations) to SpellChecker.