EffectiveCSharp.Analyzers
0.2.0-alpha
See the version list below for details.
dotnet add package EffectiveCSharp.Analyzers --version 0.2.0-alpha
NuGet\Install-Package EffectiveCSharp.Analyzers -Version 0.2.0-alpha
<PackageReference Include="EffectiveCSharp.Analyzers" Version="0.2.0-alpha"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add EffectiveCSharp.Analyzers --version 0.2.0-alpha
#r "nuget: EffectiveCSharp.Analyzers, 0.2.0-alpha"
// Install EffectiveCSharp.Analyzers as a Cake Addin #addin nuget:?package=EffectiveCSharp.Analyzers&version=0.2.0-alpha&prerelease // Install EffectiveCSharp.Analyzers as a Cake Tool #tool nuget:?package=EffectiveCSharp.Analyzers&version=0.2.0-alpha&prerelease
Effective CSharp Analyzers
Many of the recommendations in the book Effective C#: 50 Specific Ways to Improve Your C# can be validated by Roslyn-based analyzers and code fixes. The author of the book Bill Wagner has a repository but they are not maintained.
Rules
Code analyzers and code fixes will be named and numbered similarly to the book. Some of the author's guidance is opinionated, and unless otherwise indicated as prescriptive guidance, will show up as Info
or Suggestion
. In your code base you can change the effective severity of the rules to suit your needs.
Where possible, documentation will be provided as a derivative work of the book, including test cases.
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 |
---|---|---|
0.2.0 | 180 | 10/30/2024 |
0.2.0-alpha | 68 | 9/28/2024 |
0.1.0 | 736 | 8/19/2024 |
0.1.0-rc-0002 | 136 | 8/17/2024 |
0.1.0-rc | 110 | 8/15/2024 |
0.1.0-alpha | 91 | 8/5/2024 |
A changelog is available at https://github.com/rjmurillo/effectivecsharpanalyzers/releases