Hi there,

 

I am using Mono alongside .NET in larger Deployments. Just recently I wanted
to use GetHashCode() of the type of an object to start a little algorithm on
each node, which needs to produce the same result when the same type’s
hashcode (or another equivalent information) is used. 

However I found that Mono and .NET produce different hashcodes for the same
type from the same DLL. On second thought, this is very clear to me, since
up to recently we could have no idea how the GetHashCode() implementation in
.NET looks like. 

 

Now for my algorithm this is a little showstopper. So I’ve got two
questions:

A)     Is there another way to achieve my scenario above?

B)      Are there plans to use .NET’s hashcode implementation in Mono now
that it’s available?

 

Cheers,

Christian

 

-----------------------------------------------

Christian Hüning, BSc.

Fakultät Technik und Informatik, Department Informatik

Berliner Tor 7

20099 Hamburg

Web:  <http://www.mars-group.org> http://www.mars-group.org

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to