Share via


컴파일러 오류 CS0683

업데이트: 2007년 11월

오류 메시지

명시적 메서드 구현에서 'explicitmethod'은(는) 접근자이므로 'method'을(를) 구현할 수 없습니다.
"'explicitmethod' explicit method implementation cannot implement 'method' because it is an accessor

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

// CS0683.cs
interface IExample
{
   int Test { get; }
}

class CExample : IExample
{
   int IExample.get_Test() { return 0; } // CS0683
   int IExample.Test { get{ return 0; } } // correct
}