- The query
cs/captured-foreach-variablehas been deprecated as the semantics of capturing a 'foreach' variable and using it outside the loop has been stable since C# version 5.
- The query
cs/call-to-object-tostringhas been improved to remove false positives for enum types.
- The message for
csharp/diagnostic/database-qualityhas been updated to include detailed database health metrics. Additionally, the threshold for reporting database health issues has been lowered from 95% to 85% (if any metric falls below this percentage). These changes are visible on the tool status page.