7.12
andrei-epure-sonarsource
released this
26 Mar 10:07
·
4125 commits
to master
since this release
Improvements
- 2354 - [C#] Update S4261: Rule should handle 'ValueTask'
- 2341 - [C#] Fix S4158: Rule should consider .NetCore 2.0+ 'Dictionary.TryAdd' method
- 2336 - [C#] S3900: Update documentation to mention protected methods
- 2313 - [C#] Update S3440: Allow property check before assignment
- 2306 - [C#] Update S1144: Rule should handle more unused types
- 2221 - [C#, VB.NET] Update S2551: Rule should raise an issue when locking on strings
Bug Fixes
- 2253 - [C#] Fix S3237: NullReferenceException with arrow expression of interface member
- 2252 - [C#] Fix S3237: NullReferenceException with arrow expression of interface member
- 2235 - [VB.NET] Fix S4143: AD0001 NullReferenceException
False Positive
- 2344 - [C#] Update S3874: FP with interface implementations
- 2314 - [C#] Fix S3247: FP when casting on different identifier
- 2312 - [C#] Fix S1144: False Positive when private member is only used in a generated file
- 2295 - [C#] Update S1905: False Positive with 'default'
- 2291 - [C#] Update S2933: Rule should not suggest adding readonly modifier for fields of type struct
- 2290 - [C#] Update S100: Allow two-letter acronyms
- 2285 - [C#] Update S2325: Rule should handle a whitelist of method names