Releases
9.22.0.87781
New Rules
8869 - [C#, VB.NET] New rule S6930 : Backslash should be avoided in route templates
8844 - [C#] New rule S3416 : Loggers should be named for their enclosing types
8840 - [C#] New rule S6675 : Trace.WriteLineIf should not be used with TraceSwitch levels
8847 - [C#] New rule S2139 : Exceptions should be either logged or rethrown but not both
8845 - [C#] New rule S6664 : Too many logging calls within a code block
8843 - [C#] New rule S6672 : Generic logger injection should match enclosing type
8842 - [C#] New rule S6669 : Logger field names should comply with a naming convention
8841 - [C#] New rule S6670 : Trace.Write and Trace.WriteLine should not be used
8769 - [C#] New rule S6673 : Log message template placeholders should be in the right order
8846 - [C#] New rule S1312 : Logger fields should be private static readonly
[Non-SonarWay]
False Positive
7088 - [C#, VB.NET] Fix S2589 FP: When local is assigned in for loop
8264 - [C#, VB.NET] Fix S2583 FP: Code wrongly considered unreachable
8891 - [C#] Fix S2629 FP: Allow concatenation of constants
You can’t perform that action at this time.