컴파일러 경고(수준 4) CS0078

업데이트: 2007년 11월

오류 메시지

접미사 'l'은 숫자 '1'과 쉽게 혼동됩니다. 쉽게 구별할 수 있도록 'L'을 사용하십시오.
The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity

컴파일러에서는 대문자 L 대신 소문자 l을 사용하여 long으로 캐스팅하는 것을 발견하면 경고합니다.

다음 샘플에서는 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);
   }
}