ソースを参照

Fixing omission.

Bart De Smet 8 年 前
コミット
329bcd5f3d

+ 1 - 1
Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Repeat.cs

@@ -14,7 +14,7 @@ namespace System.Linq
             if (count < 0)
                 throw new ArgumentOutOfRangeException(nameof(count));
 
-            return Enumerable.Repeat(element, count).ToAsyncEnumerable();
+            return new RepeatAsyncIterator<TResult>(element, count);
         }
 
         private sealed class RepeatAsyncIterator<TResult> : AsyncIterator<TResult>