After getting basic and strings parameters, it is time to look at arrays and reference types.
Accessing managed arrays
You check against null array parameter the same way as for string:
The ELEMENT_TYPE_SZARRAY applies to single dimension arrays including jagged arrays. ELEMENT_TYPE_ARRAY is used for matrice :
Since arrays are reference…