JetBrains Rider 2017.2 Help

Code Inspection: Possible 'System.NullReferenceException'

JetBrains Rider analyzes nullability of symbols and issues a warning if it detects access to members on objects that can be null references.

Note that nullability analysis is configurable, meaning that you can define in which situations JetBrains Rider will assume values to be null references.

You can find detailed explanations of how JetBrains Rider detects possible 'null' dereferences in the Value and Nullability Analysis topic.

Last modified: 17 November 2017

See Also