C#: Analysis change notes.

This commit is contained in:
calum
2019-04-01 15:44:20 +01:00
parent b11dce7b8a
commit e16cbe0ca1

View File

@@ -5,6 +5,7 @@
| **Query** | **Expected impact** | **Change** |
|------------------------------|------------------------|-----------------------------------|
| Class defines a field that uses an ICryptoTransform class in a way that would be unsafe for concurrent threads (`cs/thread-unsafe-icryptotransform-field-in-class`) | Fewer false positive results | The criteria for a result has changed to include nested properties, nested fields and collections. The format of the alert message has changed to highlight the static field. |
| Constant condition (`cs/constant-condition`) | Fewer results | Results have been removed where the `null` value is in a conditional expression in the left hand side of a null-coalescing expression. For example, in `(a ? b : null) ?? c`, `null` is not considered to be a constant condition. |
## Changes to code extraction