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

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=546571#c1


Jonathan Pryor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #1 from Jonathan Pryor <[email protected]>  2009-10-13 19:31:33 MDT 
---
1. Not all uses of IEqualityComparer<T> need to be found and replaced.  You
only need to replace uses that require value types (structs) for T. 
IEqualityComparer<SomeReferenceType> is fine; IEqualityComparer<SomeValueType>
is not.

2. MonoTouch 1.1 improved support by including IEqualityComparer<T>
implementations for the builtin C# types (char, short, int, long, double,
etc.).

In short, you don't need to replace all EqualityComparer<T>.Default uses, just
those that result in the death of your app when running on the actual device. 
This is likely to be considerably fewer than all uses, as value types are
usually less frequently used than reference types (FxDG guidelines), and most
of the remaining frequently used value types should be covered by (2).

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to