Always marshal a class as a COM interface if it has the InterfaceType attribute set...
authorZebediah Figura <obsequiousnewt@gmail.com>
Wed, 31 Jul 2019 12:15:38 +0000 (07:15 -0500)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 31 Jul 2019 12:15:38 +0000 (14:15 +0200)
commitb26401d600ba9c911a2fa7b12c41da4f6ceb0507
tree09b5d556c4667d646fa5c0b12b38d0abae59a3bc
parent01f953851eb937755ce0bd56bc08e27b4d004a34
Always marshal a class as a COM interface if it has the InterfaceType attribute set. (mono/mono#15671)

This fixes Game Maker Studio 2 Desktop under Wine.

Commit migrated from https://github.com/mono/mono/commit/dc48d9e241e96e3fd26ce09f69bc2b2672f0f39e
src/mono/mono/metadata/cominterop.c
src/mono/mono/metadata/cominterop.h
src/mono/mono/metadata/marshal.c
src/mono/mono/metadata/metadata.c
src/mono/mono/tests/cominterop.cs