TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C# Coding Standard
Search

Rule:  6@191Checked automatically with code checker

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)
{
...
}