[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?
    
    Jonathan
    _______________________________________________
    Mono-list maillist  -  Mono-list at lists.dot.net
    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.dot.net%2Fmailman%2Flistinfo%2Fmono-list&data=02%7C01%7Cjopur%40microsoft.com%7C063c249c826d44c3fe5908d412635054%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636153665147544740&sdata=2d%2FyuqsTOGQsQuP3Y5TNQjlCzLlZaolUa%2B6xi6RdlSM%3D&reserved=0
    



More information about the Mono-list mailing list