a template cannot be declared within a managed class or interface
Class templates are not allowed in a managed class or interface.
The following sample generates C3619:
#using <mscorlib.dll> __gc class X { template<typename T> class Y { // C3619; remove template declaration }; };