[Mono-list] Embedded API: MonoObject equality
jonathan at mugginsoft.com
jonathan at mugginsoft.com
Fri Mar 21 13:53:01 UTC 2014
On 20 Mar 2014, at 22:56, Jonathan Lima <greenboxal at gmail.com> wrote:
> Thats why you can't save references to managed objects across function calls.
>
> Jonathan
>
The implementation of mono_object_hash is quite detailed.
However it states:
Calculate a hash code for @obj that is constant while @obj is alive.
So without further testing I think that mono_object_hash will change for any given managed object if its MonoObject *address changes.
J
More information about the Mono-list
mailing list