Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 596 Bytes

RCS1089.md

File metadata and controls

42 lines (27 loc) · 596 Bytes

RCS1089: Use --/++ operator instead of assignment

Property Value
Id RCS1089
Category Simplification
Severity Info

Examples

Code with Diagnostic

i = i + 1;

Code with Fix

i++;

Code with Diagnostic

M(i + 1);

Code with Fix

M(++i);

See Also

(Generated with DotMarkdown)