Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit abc7cf2

Browse files
committed
C#: Add change note
1 parent 6b99e1a commit abc7cf2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

change-notes/1.21/analysis-csharp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
|------------------------------|------------------------|-----------------------------------|
77
| 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. |
88
| Constant condition (`cs/constant-condition`) | Fewer false positive results | Results have been removed where the `null` value is in a conditional expression on 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. |
9+
| Useless upcast (`cs/useless-upcast`) | Fewer false positive results | Results have been removed where the upcast is used to disambiguate the target of a constructor call. |
910

1011
## Changes to code extraction
1112

0 commit comments

Comments
 (0)