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

RCS1064: Avoid usage of for statement to create an infinite loop

Property Value
Id RCS1064
Category Style
Default Severity Info
Enabled by Default -
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

for (;;) // RCS1064
{
}

Code with Fix

while (true)
{
}

See Also

(Generated with DotMarkdown)