다음을 통해 공유


컴파일러 오류 CS0527

업데이트: 2007년 11월

오류 메시지

인터페이스 목록에 있는 'type' 형식이 인터페이스가 아닙니다.
Type 'type' in interface list is not an interface

구조체 또는 인터페이스는 다른 인터페이스에서 상속될 수 있지만 다른 형식에서는 상속될 수 없습니다.

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

// CS0527.cs
// compile with: /target:library
public struct clx : int {}   // CS0527 int not an interface