[cominterop] Default to [in] parameter direction when not specified explicitly.
commit08521a1c43780a711113ef42043f664f256e8978
authorNikolay Sivov <nsivov@codeweavers.com>
Mon, 16 Sep 2019 17:42:43 +0000 (16 20:42 +0300)
committerMarek Safar <marek.safar@gmail.com>
Tue, 17 Sep 2019 09:06:17 +0000 (17 11:06 +0200)
tree54d8171a129c8da61e788f56732ab428d1abbdf0
parentaf185d2c1e39169557e996b3fd1ead6acb174486
[cominterop] Default to [in] parameter direction when not specified explicitly.

Treat [In, Out], [In] and unspecified as input arguments. Important change from
current behavior is to allow parameter without directional attributes.

Use case example is _MethodInfo.Invoke() method called from native client.
mono/metadata/cominterop.c
mono/tests/cominterop.cs
mono/tests/libtest.c