Rhinobyte.CodeAnalysis.NetAnalyzers
1.0.0-preview.7
This is a prerelease version of Rhinobyte.CodeAnalysis.NetAnalyzers.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Rhinobyte.CodeAnalysis.NetAnalyzers --version 1.0.0-preview.7
NuGet\Install-Package Rhinobyte.CodeAnalysis.NetAnalyzers -Version 1.0.0-preview.7
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.7"> <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.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rhinobyte.CodeAnalysis.NetAnalyzers, 1.0.0-preview.7"
#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.7&prerelease // Install Rhinobyte.CodeAnalysis.NetAnalyzers as a Cake Tool #tool nuget:?package=Rhinobyte.CodeAnalysis.NetAnalyzers&version=1.0.0-preview.7&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Rhinobyte.CodeAnalysis.NetAnalyzers
This library contains some custom static code analzyer and code fix providers for .NET
Release 1.0.0.0-preview.7
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 |
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.7
- Update analzyer for RBCS0001 to ignore primary constructor when the type is a partial class
- Update the MembersOrderedCorrectlyAnalyzerCodeFixProvider to correctly sort both the declaration and definition of partial methods