Rhinobyte.CodeAnalysis.NetAnalyzers 1.0.0-preview.8

This is a prerelease version of Rhinobyte.CodeAnalysis.NetAnalyzers.
dotnet add package Rhinobyte.CodeAnalysis.NetAnalyzers --version 1.0.0-preview.8                
NuGet\Install-Package Rhinobyte.CodeAnalysis.NetAnalyzers -Version 1.0.0-preview.8                
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="Rhinobyte.CodeAnalysis.NetAnalyzers" Version="1.0.0-preview.8">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rhinobyte.CodeAnalysis.NetAnalyzers --version 1.0.0-preview.8                
#r "nuget: Rhinobyte.CodeAnalysis.NetAnalyzers, 1.0.0-preview.8"                
#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 Rhinobyte.CodeAnalysis.NetAnalyzers as a Cake Addin
#addin nuget:?package=Rhinobyte.CodeAnalysis.NetAnalyzers&version=1.0.0-preview.8&prerelease

// Install Rhinobyte.CodeAnalysis.NetAnalyzers as a Cake Tool
#tool nuget:?package=Rhinobyte.CodeAnalysis.NetAnalyzers&version=1.0.0-preview.8&prerelease                

Rhinobyte.CodeAnalysis.NetAnalyzers

NuGet version (Rhinobyte.CodeAnalysis.NetAnalyzers)

This library contains some custom static code analzyer and code fix providers for .NET

Release 1.0.0.0-preview.8

New Rules

Rule ID Category Severity Notes
RBCS0001 Maintainability Info MembersOrderedCorrectlyAnalyzer, RBCS0001 Documentation
RBCS0002 Maintainability Info MembersOrderedCorrectlyAnalyzer, RBCS0002 Documentation
RBCS0003 Maintainability Info MembersOrderedCorrectlyAnalyzer (Object Initializers), RBCS0003 Documentation
RBCS0004 Maintainability Disabled MembersOrderedCorrectlyAnalyzer (Enum Member Names), RBCS0004 Documentation
RBCS0005 Maintainability Disabled MembersOrderedCorrectlyAnalyzer (Method Parameters), RBCS0005 Documentation
RBCS0006 Maintainability Disabled MembersOrderedCorrectlyAnalyzer (Record Member Names), RBCS0006 Documentation
RBCS0010 Maintainability Info UseExplicitNameForOptionalMethodParametersAnalyzer, RBCS0010 Documentation
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-preview.8 1,378 8/18/2024
1.0.0-preview.7 316 8/9/2024
1.0.0-preview.6 45 8/8/2024
1.0.0-preview.5 80 8/5/2024
1.0.0-beta.4 39 8/3/2024
1.0.0-beta.3 134 5/21/2022
1.0.0-beta.2 121 5/21/2022
1.0.0-beta.1 124 5/16/2022

v1.0.0.0-preview.8
           - Add new RBCS0006 analyzer diagnostic id to flag ordering record type members alphabetically separately from other RBCS0002 flagged type declarations
           - Update the MembersOrderedCorrectlyAnalyzerCodeFixProvider to sort names using OrdinalIgnoreCase to match how the analyzer compares them
           - Add support for a new dotnet_code_quality.RBCS0002.method_names_to_order_first customization option