Why do I get C1001 (internal compiler error)?

Why do I get C1001 with the following code

array<float,2>^ arrGrayscale = gcnew array<float,2>(100, 100);

pin_ptr<float> pp = &(arrGrayscale[0,0]);

Notes: If I change the array element type from float to short, the compiler does not complain.

Thanks



Answer this question

Why do I get C1001 (internal compiler error)?