
org.sonar.plugins.csharp.S1264.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonarlint-omnisharp-plugin Show documentation
Show all versions of sonarlint-omnisharp-plugin Show documentation
Code Analyzer based on Omnisharp
Why is this an issue?
When only the condition expression is defined in a for
loop, and the initialization and increment expressions are missing, a
while
loop should be used instead to increase readability.
Noncompliant code example
for (;condition;) { /*...*/ }
Compliant solution
while (condition) { /*...*/ }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy