[netcore] Fix marshalling of ref ptr return types (mono/mono#13914)
authorFilip Navara <filip.navara@gmail.com>
Thu, 11 Apr 2019 08:31:11 +0000 (10:31 +0200)
committerZoltan Varga <vargaz@gmail.com>
Thu, 11 Apr 2019 08:31:11 +0000 (04:31 -0400)
commit957164254cda241185ad695aa5f741376a5be2a2
tree7ec342b4ee44b1dd7f391650f2f818cff0d81e66
parent97023d377fbfeb6835a231a3bbe98cbab9b431df
[netcore] Fix marshalling of ref ptr return types (mono/mono#13914)

* Fix marshalling of ref ptr return types

* Revert assert -> exception change

Commit migrated from https://github.com/mono/mono/commit/847296f1f0f71468fb08d1c6b48a4a1775f94c5c
src/mono/mono/metadata/object.c
src/mono/netcore/excludes-System.Runtime.Tests.rsp