[Mono-bugs] [Bug 553783] Comparer<DateTime>.Default is not supported (fails with JIT error on device)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 26 01:16:51 EST 2009


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

http://bugzilla.novell.com/show_bug.cgi?id=553783#c3


--- Comment #3 from Martin Granell <martin at memewave.com> 2009-11-26 06:16:47 UTC ---
At least for value types in System it would be good to have them special cased,
otherwise it is difficult to use a lot of the Linq queries. 

Alternatively, can the Comparer<T> class be changed to look up developer
supplied comparers? We could use a registration attribute to register a
comparer for the required type, and the Comparer<T> implementation could
instantiate them when required. This would at least allow us to get around
having to specify the comparer everywhere.

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


More information about the mono-bugs mailing list