Permalink
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (31 sloc) 762 Bytes

RCS1033: Remove redundant boolean literal

Property Value
Id RCS1033
Category Redundancy
Default Severity Info
Enabled by Default
Supports Fade-Out
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

if (f == true) // RCS1033
{
}

if (f != false) // RCS1033
{
}

Code with Fix

if (f)
{
}

if (f)
{
}

See Also

(Generated with DotMarkdown)