컴파일러 오류 CS1681

업데이트: 2007년 11월

오류 메시지

전역 extern 별칭을 다시 정의할 수 없습니다.
You cannot redefine the global extern alias

전역 별칭은 별칭이 지정되지 않은 모든 참조를 포함하도록 이미 정의되어 있으므로 다시 정의할 수 없습니다.

예제

다음 샘플에서는 CS1681 오류가 발생하는 경우를 보여 줍니다.

// CS1681.cs
// compile with: /reference:global=System.dll
// CS1681 expected

// try this instead: /reference:System.dll
class A
{
   static void Main() {}
}