diff options
author | Jb Evain <jbevain@gmail.com> | 2010-07-13 18:36:57 +0400 |
---|---|---|
committer | Jb Evain <jbevain@gmail.com> | 2010-07-13 18:36:57 +0400 |
commit | aa35ea37733e4185ebb40ee272c8ff66e4c639c3 (patch) | |
tree | 70bb40fcf5f8569e7d0515532fc0e567f19af1c8 /mcs/class/System.Core/System.Linq/Enumerable.cs | |
parent | 02ff6c22768c7df7acfa7673f033b0d929bc1d2c (diff) |
2010-07-13 Jb Evain <jbevain@novell.com>
backport of 160298.
* Enumerable.cs (Except): fix HashSet.Contains call.
Fixes #621911.
svn path=/branches/mono-2-6/mcs/; revision=160299
Diffstat (limited to 'mcs/class/System.Core/System.Linq/Enumerable.cs')
-rw-r--r-- | mcs/class/System.Core/System.Linq/Enumerable.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Core/System.Linq/Enumerable.cs b/mcs/class/System.Core/System.Linq/Enumerable.cs index c476de7bd01..48e1df1b8a8 100644 --- a/mcs/class/System.Core/System.Linq/Enumerable.cs +++ b/mcs/class/System.Core/System.Linq/Enumerable.cs @@ -566,7 +566,7 @@ namespace System.Linq { var items = new HashSet<TSource> (second, comparer); foreach (var element in first) { - if (!items.Contains (element, comparer)) + if (!items.Contains (element)) yield return element; } } |