Advertencia del compilador (nivel 4) CS0078
Actualización: noviembre 2007
Mensaje de error
El sufijo 'l' se confunde fácilmente con el dígito '1' – utilice 'L' para mayor claridad
The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity
El compilador realiza una advertencia cuando detecta una conversión a un tipo long mediante una 'l' minúscula en lugar de 'L' mayúscula.
El código siguiente genera el error CS0078:
// CS0078.cs
// compile with: /W:4
class test {
public static void TestL(long i)
{
}
public static void TestL(int i)
{
}
public static void Main()
{
TestL(25l); // CS0078
// try the following line instead
// TestL(25L);
}
}