Synopsis: | Do not dereference null |
Language: | C# |
Severity Level: | 1 |
Category: | Control flow |
Description: |
All C# code using reference types that can be null must be 'secured' against inadvertent use of null references as follows:
if (reference != null) |