Why RCS1098 is enabled by default?
Open
Area-Analyzers
Discussion
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 294
- Avg merge
- 2h 30m
- Merged PRs (30d)
- 4
Description
Avoid 'null' on the left side of a binary expression
null==a in C# means ReferenceEquals(a,null)
https://stackoverflow.com/questions/34229318/should-null-be-checked-on-the-left-or-right-hand-side
https://stackoverflow.com/questions/970334/is-referenceequalsnull-obj-the-same-thing-as-null-obj
https://stackoverflow.com/questions/4850053/what-is-good-practice-for-null-reference-checks
Contributor guide
Assessment
This issue has not been assessed yet.