소스 검색

Fix TakeLast.

Bart De Smet 5 년 전
부모
커밋
8a5924b884
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Ix.NET/Source/System.Linq.Async/System/Linq/Operators/TakeLast.cs

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

@@ -37,7 +37,7 @@ namespace System.Linq
 #if HAS_ASYNC_ENUMERABLE_CANCELLATION
 #if HAS_ASYNC_ENUMERABLE_CANCELLATION
             return Core(source, count);
             return Core(source, count);
 
 
-            static async IAsyncEnumerable<TSource> Core(IAsyncEnumerable<TSource> source, [System.Runtime.CompilerServices.EnumeratorCancellation]CancellationToken cancellationToken = default)
+            static async IAsyncEnumerable<TSource> Core(IAsyncEnumerable<TSource> source, int count, [System.Runtime.CompilerServices.EnumeratorCancellation]CancellationToken cancellationToken = default)
 #else
 #else
             return Create(Core);
             return Create(Core);