컴파일러 오류 CS0528
업데이트: 2007년 11월
오류 메시지
'interface'이(가) 이미 인터페이스 목록에 있습니다.
'interface' is already listed in interface list
인터페이스 상속 목록에서는 중복을 허용하지만 인터페이스는 상속 목록에 한 번만 지정할 수 있습니다.
다음 샘플에서는 CS0528 오류가 발생하는 경우를 보여 줍니다.
// CS0528.cs
namespace x
{
public interface a
{
}
public class b : a, a // CS0528
{
public void Main()
{
}
}
}