fixed bug in COM/.NET interop: handling arrays of structures in structures