컴파일러 오류 CS0567
업데이트: 2007년 11월
오류 메시지
인터페이스는 연산자를 포함할 수 없습니다.
Interfaces cannot contain operators
연산자를 인터페이스 정의에 사용할 수 없습니다.
다음 샘플에서는 CS0567 오류가 발생하는 경우를 보여 줍니다.
// CS0567.cs
interface IA
{
int operator +(int aa, int bb); // CS0567
}
class Sample
{
public static void Main()
{
}
}