StyleCop.CSharp.Rules 5.0.0-beta01

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

This is a prerelease version of StyleCop.CSharp.Rules.
There is a newer version of this package available.
See the version list below for details.
Install-Package StyleCop.CSharp.Rules -Version 5.0.0-beta01
dotnet add package StyleCop.CSharp.Rules --version 5.0.0-beta01
<PackageReference Include="StyleCop.CSharp.Rules" Version="5.0.0-beta01" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StyleCop.CSharp.Rules --version 5.0.0-beta01
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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

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

Repository Stars
Official ReSharper extension for StyleCop

Version History

Version Downloads Last updated
6.1.0 5,529 4/9/2019
6.0.0 196 2/23/2019
6.0.0-beta04 162 11/24/2018
5.0.0 9,146 7/29/2017
5.0.0-beta02 307 4/30/2017
5.0.0-beta01 347 12/10/2016
5.0.0-alpha01 296 10/18/2016
Show less