Share via


컴파일러 오류 CS0733

업데이트: 2007년 11월

오류 메시지

제네릭 형식 'GenericType<>'을(를) 전달할 수 없습니다.
Cannot forward generic type, 'GenericType<>'

예제

다음 예제에서는 CS0733 오류가 발생하는 경우를 보여 줍니다. 첫 번째 파일을 라이브러리로 컴파일한 다음 두 번째 파일을 컴파일할 때 이 라이브러리를 참조하십시오.

// CS0733a.cs
// compile with: /target:library
public class GenericType<T> 
{
}

// CS0733.cs
// compile with: /target:library /r:CS0733a.dll
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(GenericType<int>))]   // CS0733