Permalink
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (26 sloc) 728 Bytes

RCS1065: Avoid usage of while statement to create an inifinite loop

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

Example

Code with Diagnostic

while (true) // RCS1065
{
}

Code with Fix

do
{
}
while (true);

See Also

(Generated with DotMarkdown)