EffectiveCSharp.Analyzers
0.2.0
dotnet add package EffectiveCSharp.Analyzers --version 0.2.0
NuGet\Install-Package EffectiveCSharp.Analyzers -Version 0.2.0
<PackageReference Include="EffectiveCSharp.Analyzers" Version="0.2.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add EffectiveCSharp.Analyzers --version 0.2.0
#r "nuget: EffectiveCSharp.Analyzers, 0.2.0"
// Install EffectiveCSharp.Analyzers as a Cake Addin #addin nuget:?package=EffectiveCSharp.Analyzers&version=0.2.0 // Install EffectiveCSharp.Analyzers as a Cake Tool #tool nuget:?package=EffectiveCSharp.Analyzers&version=0.2.0
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 | 532 | 10/30/2024 |
0.2.0-alpha | 73 | 9/28/2024 |
0.1.0 | 760 | 8/19/2024 |
0.1.0-rc-0002 | 141 | 8/17/2024 |
0.1.0-rc | 114 | 8/15/2024 |
0.1.0-alpha | 96 | 8/5/2024 |
A changelog is available at https://github.com/rjmurillo/effectivecsharpanalyzers/releases