From f98d614f76d15c0e108573b924b13b22ceb3663b Mon Sep 17 00:00:00 2001 From: Jb Evain Date: Wed, 14 Jul 2010 08:17:59 +0000 Subject: 2010-07-14 Jb Evain * Enumerable.cs (Union): fix HashSet.Contains call. svn path=/branches/mono-2-6/mcs/; revision=160339 --- mcs/class/System.Core/System.Linq/ChangeLog | 4 ++++ mcs/class/System.Core/System.Linq/Enumerable.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'mcs/class/System.Core/System.Linq') diff --git a/mcs/class/System.Core/System.Linq/ChangeLog b/mcs/class/System.Core/System.Linq/ChangeLog index 7610f3df4ab..873df16da20 100644 --- a/mcs/class/System.Core/System.Linq/ChangeLog +++ b/mcs/class/System.Core/System.Linq/ChangeLog @@ -1,3 +1,7 @@ +2010-07-14 Jb Evain + + * Enumerable.cs (Union): fix HashSet.Contains call. + 2010-07-13 Jb Evain backport of 160298. diff --git a/mcs/class/System.Core/System.Linq/Enumerable.cs b/mcs/class/System.Core/System.Linq/Enumerable.cs index 48e1df1b8a8..067aaea4147 100644 --- a/mcs/class/System.Core/System.Linq/Enumerable.cs +++ b/mcs/class/System.Core/System.Linq/Enumerable.cs @@ -2281,7 +2281,7 @@ namespace System.Linq } foreach (var element in second) { - if (! items.Contains (element, comparer)) { + if (! items.Contains (element)) { items.Add (element); yield return element; } -- cgit v1.2.3