[mono] Use InlineArrayAttribute for ArgumentData and StackAllocatedByRefs (#88149)
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Thu, 29 Jun 2023 13:44:15 +0000 (09:44 -0400)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2023 13:44:15 +0000 (09:44 -0400)
commitdd04e0194e5225c9a5c21d9aa14d115094631171
tree4738c158054d6ca77b68ffcdcbf2e4e2ca46d05b
parentbe09d8658987cdf2a9d221bb20f852ad9a503717
[mono] Use InlineArrayAttribute for ArgumentData and StackAllocatedByRefs (#88149)

* [mono] Use InlineArrayAttribute for ArgumentData and StackAllocatedByRefs

   Mono supports InlineArray

* Apply suggestions from code review

* Expose two more uses of InlineArray in ParamsArray.cs

---------

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
src/libraries/System.Private.CoreLib/src/System/ParamsArray.cs
src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBase.cs