[mono] Implement AsAny marshalling for simple arrays (#35686)
authorAlexis Christoforides <alexis@thenull.net>
Wed, 20 May 2020 22:59:29 +0000 (18:59 -0400)
committerGitHub <noreply@github.com>
Wed, 20 May 2020 22:59:29 +0000 (18:59 -0400)
commite3c8c47c1555a05a0f12177ed95758a03375c644
tree686b8c9122018c312e3352b1e5700d1bd41fb803
parent41882cbf086270042f65445dc54cfec9a4b54c50
[mono] Implement AsAny marshalling for simple arrays (#35686)

* [mono] Implement AsAny marshalling for simple arrays

Simple here means of rank 1, and with a blittable value type as element type.

* Also implement char arrays

* Do not allow in-params to be marshalled this way, as the callee would have write-ability that is not allowed by in-params
src/mono/mono/metadata/marshal.c