SharpSource
RecordValueAnalyser
SharpSource | RecordValueAnalyser | |
---|---|---|
1 | 1 | |
27 | 4 | |
- | - | |
3.7 | 8.8 | |
3 months ago | 9 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SharpSource
-
What specific patterns are inefficient or cause issues at runtime?
Using a string.Format() call where the arguments don't match the placeholders [docs]
RecordValueAnalyser
-
Publishing a Roslyn analyser on nuget
I've written a small code analyser for Roslyn, which works fine when included as a csproj. The source is at https://github.com/lookbusy1344/RecordValueAnalyser
What are some alternatives?
Meziantou.Analyzer - A Roslyn analyzer to enforce some good practices in C#.
LinqGen - Alloc-free and fast replacement for Linq, with code generation
BestPracticeAnalyzer - A .NET analyzer for developers complaining about people not following "best practices"
PolySharp - PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! 🚀
Durian - Durian is a collection of Roslyn-based analyzers and source generators that extend the default capabilities of C#.
mongo-csharp-analyzer - The MongoDB Analyzer is a free tool that helps you understand how your code translates into the MongoDB Query API.
platform-compat - Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.