Step One is Redundant
Locates 'For' loops where the 'Step' token is specified with the default increment value (1).
NEW! This inspection is only available in pre-release builds.
Reasoning
Out of convention or preference, explicit 'Step 1' specifiers could be considered redundant; this inspection can ensure the consistency of the convention.
Default severity
Hint
Inspection type
LanguageOpportunities
Examples
This example should trigger a result
This example should NOT trigger a result
Rubberduck.CodeAnalysis.Inspections.Concrete.StepOneIsRedundantInspection.cs (Prerelease-v2.5.2.6174)