On 8/21/19 6:51 PM, Vincent Povirk (they/them) wrote:

+    prev_domain = domain_attach(default_domain);
+
+    hr = RuntimeHost_GetIUnknownForDomain(This, default_domain, appDomain);
+
+    domain_restore(prev_domain);
So it returns the default domain in all cases? That seems wrong.
It does seem wrong, it should probably use mono_domain_get().