[Mono-list] Mono embedded : EXC_BAD_ACCESS calling mono_object_hash() on MonoDomain *

Jon Purdy jopur at microsoft.com
Tue Nov 22 00:45:55 UTC 2016

A MonoDomain is not a MonoObject—they have very different internal representations. MonoDomain does internally contain a field (“domain”) of type MonoAppDomain*, which is compatible with MonoObject*, but I don’t think we expose this. What problem are you trying to solve?

On 11/21/16, 3:08 PM, "Mono-list on behalf of Jonathan Mitchell" <mono-list-bounces at lists.dot.net on behalf of lists at mugginsoft.com> wrote:

    My Obj C code seems to be having issues calling mono_object_hash() on a MonoDomain *.
    Calling mono_object_get_class(monoDomain) is also failing;
    I had presumed that MonoDomain * could be queried and handled like a regular MonoObject *.
    Is that the case?
    Mono-list maillist  -  Mono-list at lists.dot.net

More information about the Mono-list mailing list