https://bugs.winehq.org/show_bug.cgi?id=50849
--- Comment #9 from Esme Povirk madewokherd@gmail.com --- Or I guess add a flag to mono_marshal_emit_managed_wrapper, to have it call some cominterop functions to generate domain change code before and after the marshaling code.