Allow passing IntPtr values with UnmanagedType.AsAny. (#2039)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 27 Jan 2020 10:19:26 +0000 (05:19 -0500)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 27 Jan 2020 10:19:26 +0000 (11:19 +0100)
commit653b322ddb03b9871c54f6ec03c0d12f4b0898db
tree1d2905dba6a4b2e8c8271db48c118acfed8028e3
parentdb70456f64e38754f90f83786bca2a65f0bcc506
Allow passing IntPtr values with UnmanagedType.AsAny. (#2039)

This is used by the SplashScreen class of WindowsBase in .NET Core to pass a NULL pointer.

Co-authored-by: Vincent Povirk <madewokherd@gmail.com>
src/mono/mono/metadata/marshal.c
src/mono/mono/tests/libtest.c
src/mono/mono/tests/pinvoke2.cs