Error del compilador CS0733

Actualización: noviembre 2007

Mensaje de error

No se puede reenviar el tipo genérico, 'GenericType<>'
Cannot forward generic type, 'GenericType<>'

Ejemplo

En el siguiente ejemplo se genera el error CS0733. Compile el primer archivo como una biblioteca y, a continuación, haga referencia a él cuando compile el segundo archivo.

// 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