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

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

@@ -24,9 +24,7 @@ namespace System.Linq
         {
             return CreateEnumerable(
                 () => CreateEnumerator<TValue>(
-                    ct => TaskExt.False,
-                    () => { throw new InvalidOperationException(); },
-                    () => { })
+                    ct => TaskExt.False, null, null)
             );
         }