Permalink
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (25 sloc) 754 Bytes

RCS1098: Avoid 'null' on the left side of a binary expression

Property Value
Id RCS1098
Category Readability
Default Severity Info
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

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

Code with Fix

if (x == null)
{
}

See Also

(Generated with DotMarkdown)