illegal __nogc pointer to managed type 'type'
A pointer to a managed type cannot be declared with the __nogc keyword.
The following sample generates C3148:
#using<mscorlib.dll> __gc class G { }; void main() { G __nogc *pg; // C3148 // try .. // G *pg; // or // G __gc *pg; }