Permalink
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (27 sloc) 735 Bytes

RCS1166: Value type object is never equal to null

Property Value
Id RCS1166
Category Usage
Default Severity Info
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

int x = 0;

// ...

if (x == null) // RCS1166
{
}

Code with Fix

if (x == 0)
{
}

See Also

(Generated with DotMarkdown)