6.0
michalb-sonar
released this
30 Jun 14:31
·
5210 commits
to master
since this release
Bug
- #386 - Fix S1939: Extends and implements list entries should not be redundant
- #423 - Fix Symbolic Execution: Invalid nameof() should be properly handled
False Negative
False Positive
- #153 - Fix S1871: "Branches with same implementation" should ignore single line blocks
- #297 - Fix S1940: "Inverted boolean checks" should not suggest inversion for Nullable
- #343 - Fix S2681: Fix FP on try-catch block
- #345 - Fix S1751: "Unconditional jump statements" should not raise if a conditional continue is detected
- #347 - Fix S2589: "Gratuitous expressions" should not raise if expression is the condition of a loop and break is detected
- #366 - Fix S3963: Should not raise issue when the static constructor does not assign any fields
Improvement
- #220 - Process coverage reports only once for a solution
- #346 - Update S2328: "GetHashCode should not reference mutable fields" should report once per method
- #348 - Update S3904: "Assemblies should have version" should be code smell
- #370 - Update S2387, Rule S4025: "Child class fields shadowing parent fields" should ignore "static" fields, field names that differ by case are handled by S4025
- #374 - Drop MSBuild 12 support
- #394 - Decrease plugin size
- #438 - Update S1210: "Override Equals when implementing IComparable" should be code smell
- #439 - Update S2743: "Static fields in generic types" should be code smell
- #440 - Update S3220: "Method calls should not resolve ambiguously" should be code smell
- #441 - Update S3881: "IDisposable should be implemented correctly" should be code smell
- #442 - Update S3885: "Assembly.Load should be used" should be code smell
- #443 - Update S3904: "Assemblies should have version information" should be code smell
- #444 - Update S3925: "ISerializable should be implemented correctly" should be code smell
New Feature
- #333 - Rule S2068: Credentials should not be hard-coded
- #350 - Rule S4015: Inherited member visibility should not be decreased
- #351 - Rule S4016: Enumeration members should not be named "Reserved"
- #352 - Rule S4017: Method signatures should not contain nested generic types
- #353 - Rule S4018: Generic methods should provide type parameters
- #354 - Rule S4019: Base class methods should not be hidden
- #356 - Rule S4022: Enums storage should be Int32
- #357 - Rule S4023: Interfaces should not be empty
- #359 - Rule S3906: Declare event handlers correctly
- #360 - Rule S3908: Generic event handlers should be used
- #361 - Rule S3909: Collections should implement the generic interface
- #365 - Rule S1123: "Obsolete" attributes should include explanations
- #383 - Rule S4026: Assemblies should be marked with NeutralResourcesLanguageAttribute
- #384 - Rule S4027: Exceptions should provide standard constructor