[Mono-bugs] [Bug 520437] using == operator when comparing too difference refs to the same native COM object returns false .NET difference

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 9 18:34:47 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=520437

User tom_hindle at sil.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=520437#c3





--- Comment #3 from tom hindle <tom_hindle at sil.org>  2009-07-09 16:34:46 MDT ---
Created an attachment (id=304252)
 --> (http://bugzilla.novell.com/attachment.cgi?id=304252)
A test program with less Dependenceis.

Output from Windows/.NET:

Test+LgWritingSystemFactory
58225482
Test+LgWritingSystemFactory
58225482
==: True
Equals: True
ReferenceEquals: True

Output from Linux/mono:

Test+LgWritingSystemFactory
141518640
Test+LgWritingSystemFactory
141518640
==: False
Equals: True
ReferenceEquals: False



Now I need to provide a small LgWritingSystemFactory (which is a singleton) COM
stub....

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list