All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.plugins.csharp.S818.html Maven / Gradle / Ivy

There is a newer version: 10.2.0.105762
Show newest version

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