[Mono-bugs] [Bug 611821] New: Enumerable.Except should do a set difference

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 4 14:24:33 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=611821#c0


           Summary: Enumerable.Except should do a set difference
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Kubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Core
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: matthew.flaschen at gatech.edu
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Mono's Enumerable.Except currently returns equal elements more than once if
they appear repeatedly in the first IEnumerable.  However, the documentation
(http://msdn.microsoft.com/en-us/library/bb300779%28v=VS.100%29.aspx) states
that the method "Produces the set difference of two sequences by using the
default equality comparer to compare values." and that "The set difference of
two sets is defined as the members of the first set that do not appear in the
second set."

Neither the documentation nor the examples make this 100% clear, but the
Microsoft framework does not return equal elements from the first IEnumerable
more than once.  Another uncertain issue is that the examples seem to preserve
the order of elements from the first IEnumerable, but this isn't specified.

-- 
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