- Added a new query,
csharp/path-combine, to recommend against thePath.Combinemethod due to it silently discarding its earlier parameters if later parameters are rooted.
- Improved dependency resolution in
build-mode: noneextraction to handle failingdotnet restoreprocesses that managed to download a subset of the dependencies before the failure. - Increase query precision for
cs/useless-gethashcode-callby not flagging calls toGetHashCodeonuint,longandulong. - Increase query precision for
cs/constant-conditionand allow the use of discards in switch/case statements and also take the condition (if any) into account. - The
cs/local-not-disposedquery no longer flags un-disposed tasks as this is often not needed (explained here). - Increase query precision for
cs/useless-assignment-to-localandcs/constant-conditionwhen unknown types are involved (mostly relevant forbuild-mode: nonedatabases). - Don't consider an if-statement to be useless in
cs/useless-if-statementif there is at least a comment.