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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to