浏览代码

Use comparer for dictionary

Oren Novotny 9 年之前
父节点
当前提交
c887be64df
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Ix.NET/Source/System.Interactive.Async/AsyncEnumerable.Multiple.cs

+ 1 - 1
Ix.NET/Source/System.Interactive.Async/AsyncEnumerable.Multiple.cs

@@ -449,7 +449,7 @@ namespace System.Linq
 
                     if (_innerGroups == null)
                     {
-                        _innerGroups = new Dictionary<TKey, List<TInner>>();
+                        _innerGroups = new Dictionary<TKey, List<TInner>>(_comparer);
 
                         while (await _inner.MoveNext(cancellationToken).ConfigureAwait(false))
                         {