컴파일러 오류 CS0539
업데이트: 2007년 11월
오류 메시지
명시적 인터페이스 선언에서 'member'은(는) 인터페이스의 멤버가 아닙니다.
'member' in explicit interface declaration is not a member of interface
존재하지 않는 인터페이스 멤버를 명시적으로 선언하려고 했습니다. 선언을 삭제하거나 올바른 인터페이스 멤버를 참조하도록 변경하십시오.
다음 샘플에서는 CS0539 오류가 발생하는 경우를 보여 줍니다.
// CS0539.cs
namespace x
{
interface I
{
void m();
}
public class clx : I
{
void I.x() // CS0539
{
}
public static int Main()
{
return 0;
}
}
}