https://github.com/rjmurillo/effectivecsharp.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.
https://github.com/rjmurillo/effectivecsharp.analyzers
best-practices coding-standards csharp effective improvement optimization performance techniques
Last synced: 12 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/rjmurillo/effectivecsharp.analyzers
- Owner: rjmurillo
- License: mit
- Created: 2024-07-09T17:58:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-20T21:53:01.000Z (about 1 year ago)
- Last Synced: 2025-03-24T00:14:48.623Z (12 months ago)
- Topics: best-practices, coding-standards, csharp, effective, improvement, optimization, performance, techniques
- Language: C#
- Homepage:
- Size: 329 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README
# Effective CSharp Analyzers
Many of the recommendations in the book [Effective C#: 50 Specific Ways to Improve Your C#](https://www.oreilly.com/library/view/effective-c-50/9780134579290/) can be validated by Roslyn-based analyzers and code fixes. The author of the book [Bill Wagner](https://github.com/BillWagner) has a [repository](https://github.com/BillWagner/EffectiveCSharpAnalyzers) 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.
For a list of rules, see [shipped](src/EffectiveCSharp.Analyzers/AnalyzerReleases.Shipped.md) and [unshipped](src/EffectiveCSharp.Analyzers/AnalyzerReleases.Unshipped.md).