컴파일러 오류 CS1028
업데이트: 2007년 11월
오류 메시지
예기치 않은 전처리기 지시문이 있습니다.
Unexpected preprocessor directive
해당 전처리기 지시문은 필요하지 않습니다.
예를 들어, #if가 선행되지 않은 #endif를 발견했습니다.
다음 샘플에서는 CS1028 오류가 발생하는 경우를 보여 줍니다.
// CS1028.cs
#endif // CS1028, no matching #if
namespace x
{
public class clx
{
public static void Main()
{
}
}
}