'__pin' : declaring pinned formal parameters is illegal
A function parameter cannot be decorated with the __pin keyword.
The following sample generates C3826 twice:
#using <mscorlib.dll> __gc class G { }; typedef G __pin * GPinPtrType; void func1(G __pin * x) { } // C3826 void func2(GPinPtrType x) { } // C3826 void main() { }