org.sonar.plugins.csharp.S818.html Maven / Gradle / Ivy
Why is this an issue?
Using upper case literal suffixes removes the potential ambiguity between "1" (digit 1) and "l" (letter el) for declaring literals.
Noncompliant code example
const long b = 0l; // Noncompliant
Compliant solution
const long b = 0L;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy