|
@@ -26,7 +26,7 @@ namespace System.Linq
|
|
{
|
|
{
|
|
return Core(source, value, cancellationToken);
|
|
return Core(source, value, cancellationToken);
|
|
|
|
|
|
- async Task<bool> Core<TSource>(IAsyncEnumerable<TSource> _source, TSource _value, IEqualityComparer<TSource> _comparer, CancellationToken _cancellationToken)
|
|
|
|
|
|
+ async Task<bool> Core(IAsyncEnumerable<TSource> _source, TSource _value, CancellationToken _cancellationToken)
|
|
{
|
|
{
|
|
#if CSHARP8 && AETOR_HAS_CT // CS0656 Missing compiler required member 'System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator'
|
|
#if CSHARP8 && AETOR_HAS_CT // CS0656 Missing compiler required member 'System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator'
|
|
await foreach (TSource item in _source.WithCancellation(_cancellationToken).ConfigureAwait(false))
|
|
await foreach (TSource item in _source.WithCancellation(_cancellationToken).ConfigureAwait(false))
|
|
@@ -62,7 +62,7 @@ namespace System.Linq
|
|
{
|
|
{
|
|
return Core(source, value, comparer, cancellationToken);
|
|
return Core(source, value, comparer, cancellationToken);
|
|
|
|
|
|
- async Task<bool> Core<TSource>(IAsyncEnumerable<TSource> _source, TSource _value, IEqualityComparer<TSource> _comparer, CancellationToken _cancellationToken)
|
|
|
|
|
|
+ async Task<bool> Core(IAsyncEnumerable<TSource> _source, TSource _value, IEqualityComparer<TSource> _comparer, CancellationToken _cancellationToken)
|
|
{
|
|
{
|
|
#if CSHARP8 && AETOR_HAS_CT // CS0656 Missing compiler required member 'System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator'
|
|
#if CSHARP8 && AETOR_HAS_CT // CS0656 Missing compiler required member 'System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator'
|
|
await foreach (TSource item in _source.WithCancellation(_cancellationToken).ConfigureAwait(false))
|
|
await foreach (TSource item in _source.WithCancellation(_cancellationToken).ConfigureAwait(false))
|