RoslynRanger is a collection of Roslyn analyzers designed to reduce pull request back and forth and help developers avoid common pitfalls in C# and .NET
Name | Diagnostic Id | Description |
---|---|---|
Math.Round | FR60001 | Recommends explicit rounding strategy |
Key Format | Value |
---|---|
dotnet_diagnostic.{diagnostic_id}.severity |
Documentation |
# Changes the Math.Round severity to error, preventing compilation
dotnet_diagnostic.FR60001.severity = error
# Disables the Math.Round analyzer
dotnet_diagnostic.FR60001.severity = none