Share via


컴파일러 오류 CS0739

업데이트: 2007년 11월

오류 메시지

'type name'에 TypeForwardedToAttribute가 중복되었습니다.
'type name' duplicate TypeForwardedToAttribute.

어셈블리에는 외부 형식에 대한 두 개 이상의 TypeForwardedToAttribute를 지정할 수 없습니다.

이 오류를 해결하려면

예제

다음 코드에서는 CS0739 오류가 발생하는 경우를 보여 줍니다.

// CS0739.cs
// CS0739
// Assume that a class Test is declared in a separate dll
// with a namespace that is named cs739dll.
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(cs739dll.Test))]
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(cs739dll.Test))]
namespace cs0739
{
    class Program
    {
        static void Main(string[] args)
        {
        }
    }
}

참고 항목

참조

TypeForwardedToAttribute