Skip to main content
.NETStandard2.0

Source Generator to help multi-targeting projects.

Published
Dec 29, 2025
9mo ago
Total Downloads
685.5K
685,519

Install

dotnet add package Meziantou.Polyfill --version 1.0.81
ProductVersions
.NET Standard
netstandard2.0

README

Meziantou.Polyfill

NuGet

Source Generator that adds polyfill methods and types. This helps working with multi-targeted projects.

Read more about the project: Polyfills in .NET to ease multi-targeting

Installation

dotnet add package Meziantou.Polyfill

Then, you should see the generated types in the solution explorer

Generated files in the Visual Studio's Solution Explorer

Customization

By default, all needed polyfills are generated. You can configure which polyfills should be generated by editing the .csproj file and adding the following properties:

<PropertyGroup>
  <!-- semicolon-separated or pipe-separated list of name prefix -->
  <!-- Tip: The name of the generated polyfills are available in the generated "Debug.g.cs" file -->
  <MeziantouPolyfill_IncludedPolyfills>T:Type1|T:Type2|M:Member1</MeziantouPolyfill_IncludedPolyfills>
  <MeziantouPolyfill_ExcludedPolyfills>M:System.Diagnostics.</MeziantouPolyfill_ExcludedPolyfills>

  <!-- Optional: Output the generated files to the obj\GeneratedFiles folder  -->
  <EmitCompilerGeneratedFiles>True</EmitCompilerGeneratedFiles>
  <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GeneratedFiles</CompilerGeneratedFilesOutputPath>
</PropertyGroup>

Supported polyfills

Types (68)

  • System.Buffers.SearchValues
  • System.Buffers.SearchValues where T : System.IEquatable?
  • System.Buffers.SequenceReader where T : unmanaged, System.IEquatable
  • System.Collections.Generic.PriorityQueue<TElement, TPriority>
  • System.Collections.Generic.ReferenceEqualityComparer
  • System.Collections.ObjectModel.ReadOnlySet
  • System.Diagnostics.CodeAnalysis.AllowNullAttribute
  • System.Diagnostics.CodeAnalysis.DisallowNullAttribute
  • System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
  • System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
  • System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
  • System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes
  • System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute
  • System.Diagnostics.CodeAnalysis.ExperimentalAttribute
  • System.Diagnostics.CodeAnalysis.MaybeNullAttribute
  • System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute
  • System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
  • System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute
  • System.Diagnostics.CodeAnalysis.NotNullAttribute
  • System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
  • System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
  • System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute
  • System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute
  • System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute
  • System.Diagnostics.CodeAnalysis.SetsRequiredMembersAttribute
  • System.Diagnostics.CodeAnalysis.StringSyntaxAttribute
  • System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute
  • System.Diagnostics.CodeAnalysis.UnscopedRefAttribute
  • System.Diagnostics.StackTraceHiddenAttribute
  • System.HashCode
  • System.Index
  • System.Net.Http.ReadOnlyMemoryContent
  • System.Range
  • System.Runtime.CompilerServices.AsyncMethodBuilderAttribute
  • System.Runtime.CompilerServices.CallerArgumentExpressionAttribute
  • System.Runtime.CompilerServices.CollectionBuilderAttribute
  • System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler
  • System.Runtime.CompilerServices.DisableRuntimeMarshallingAttribute
  • System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute
  • System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute
  • System.Runtime.CompilerServices.IsExternalInit
  • System.Runtime.CompilerServices.ModuleInitializerAttribute
  • System.Runtime.CompilerServices.OverloadResolutionPriorityAttribute
  • System.Runtime.CompilerServices.RequiredMemberAttribute
  • System.Runtime.CompilerServices.SkipLocalsInitAttribute
  • System.Runtime.CompilerServices.TupleElementNamesAttribute
  • System.Runtime.InteropServices.SuppressGCTransitionAttribute
  • System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute
  • System.Runtime.Versioning.ObsoletedOSPlatformAttribute
  • System.Runtime.Versioning.RequiresPreviewFeaturesAttribute
  • System.Runtime.Versioning.SupportedOSPlatformAttribute
  • System.Runtime.Versioning.SupportedOSPlatformGuardAttribute
  • System.Runtime.Versioning.TargetPlatformAttribute
  • System.Runtime.Versioning.UnsupportedOSPlatformAttribute
  • System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute
  • System.Threading.Lock
  • System.Threading.Tasks.TaskToAsyncResult
  • System.ValueTuple
  • System.ValueTuple
  • System.ValueTuple<T1, T2>
  • System.ValueTuple<T1, T2, T3>
  • System.ValueTuple<T1, T2, T3, T4>
  • System.ValueTuple<T1, T2, T3, T4, T5>
  • System.ValueTuple<T1, T2, T3, T4, T5, T6>
  • System.ValueTuple<T1, T2, T3, T4, T5, T6, T7>
  • System.ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest> where TRest : struct
  • System.ITupleInternal

Methods (329)

  • System.ArgumentException.ThrowIfNullOrEmpty(System.String? argument, [System.String? paramName = null])
  • System.ArgumentException.ThrowIfNullOrWhiteSpace(System.String? argument, [System.String? paramName = null])
  • System.ArgumentNullException.ThrowIfNull(System.Object? argument, [System.String? paramName = null])
  • System.ArgumentNullException.ThrowIfNull(System.Void* argument, [System.String? paramName = null])
  • System.ArgumentOutOfRangeException.ThrowIfEqual(T value, T other, [System.String? paramName = null])
  • System.ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(T value, T other, [System.String? paramName = null]) where T : System.IComparable
  • System.ArgumentOutOfRangeException.ThrowIfGreaterThan(T value, T other, [System.String? paramName = null]) where T : System.IComparable
  • System.ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(T value, T other, [System.String? paramName = null]) where T : System.IComparable
  • System.ArgumentOutOfRangeException.ThrowIfLessThan(T value, T other, [System.String? paramName = null]) where T : System.IComparable
  • System.ArgumentOutOfRangeException.ThrowIfNotEqual(T value, T other, [System.String? paramName = null])
  • System.BitConverter.ToInt16(System.ReadOnlySpan<System.Byte> value)
  • System.BitConverter.ToInt32(System.ReadOnlySpan<System.Byte> value)
  • System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue>.GetOrAdd(TKey key, System.Func<TKey, TArg, TValue> valueFactory, TArg factoryArgument) where TArg : allows ref struct
  • System.Collections.Generic.CollectionExtensions.AddRange(this System.Collections.Generic.List list, params System.ReadOnlySpan source)
  • System.Collections.Generic.CollectionExtensions.AsReadOnly(this System.Collections.Generic.IList list)
  • System.Collections.Generic.CollectionExtensions.AsReadOnly<TKey, TValue>(this System.Collections.Generic.IDictionary<TKey, TValue> dictionary) where TKey : notnull
  • System.Collections.Generic.CollectionExtensions.GetValueOrDefault<TKey, TValue>(this System.Collections.Generic.IReadOnlyDictionary<TKey, TValue> dictionary, TKey key)
  • System.Collections.Generic.CollectionExtensions.GetValueOrDefault<TKey, TValue>(this System.Collections.Generic.IReadOnlyDictionary<TKey, TValue> dictionary, TKey key, TValue defaultValue)
  • System.Collections.Generic.Dictionary<TKey, TValue>.Remove(TKey key, out TValue value)
  • System.Collections.Generic.KeyValuePair<TKey, TValue>.Deconstruct(out TKey key, out TValue value)
  • System.Collections.Generic.Queue.TryDequeue(out T result)
  • System.Collections.Immutable.ImmutableArray.AsSpan()
  • System.Collections.Immutable.ImmutableArray.AsSpan(System.Int32 start, System.Int32 length)
  • System.Collections.Immutable.ImmutableArray.AsSpan(System.Range range)
  • System.Convert.ToBase64String(System.ReadOnlySpan<System.Byte> bytes, [System.Base64FormattingOptions options = System.Base64FormattingOptions.None])
  • System.Convert.ToHexString(System.Byte[] inArray)
  • System.Convert.ToHexString(System.Byte[] inArray, System.Int32 offset, System.Int32 length)
  • System.Convert.ToHexString(System.ReadOnlySpan<System.Byte> bytes)
  • System.Convert.ToHexStringLower(System.Byte[] inArray)
  • System.Convert.ToHexStringLower(System.Byte[] inArray, System.Int32 offset, System.Int32 length)
  • System.Convert.ToHexStringLower(System.ReadOnlySpan<System.Byte> bytes)
  • System.Diagnostics.Process.WaitForExitAsync([System.Threading.CancellationToken cancellationToken = default])
  • System.Enum.GetNames() where TEnum : struct, System.Enum
  • System.Enum.GetValues() where TEnum : struct, System.Enum
  • System.Enum.IsDefined(TEnum value) where TEnum : struct, System.Enum
  • System.Enum.Parse(System.ReadOnlySpan<System.Char> value) where TEnum : struct
  • System.Enum.Parse(System.ReadOnlySpan<System.Char> value, System.Boolean ignoreCase) where TEnum : struct
  • System.Enum.Parse(System.String value) where TEnum : struct
  • System.Enum.Parse(System.String value, System.Boolean ignoreCase) where TEnum : struct
  • System.Enum.TryParse(System.ReadOnlySpan<System.Char> value, System.Boolean ignoreCase, out TEnum result) where TEnum : struct
  • System.Enum.TryParse(System.ReadOnlySpan<System.Char> value, out TEnum result) where TEnum : struct
  • System.Enum.TryParse(System.String? value, System.Boolean ignoreCase, out TEnum result) where TEnum : struct
  • System.Enum.TryParse(System.String? value, out TEnum result) where TEnum : struct
  • System.IO.File.WriteAllTextAsync(System.String path, System.ReadOnlyMemory<System.Char> contents, System.Text.Encoding encoding, [System.Threading.CancellationToken cancellationToken = default])
  • System.IO.File.WriteAllTextAsync(System.String path, System.ReadOnlyMemory<System.Char> contents, [System.Threading.CancellationToken cancellationToken = default])
  • System.IO.Stream.DisposeAsync()
  • System.IO.Stream.Read(System.Span<System.Byte> buffer)
  • System.IO.Stream.ReadAsync(System.Memory<System.Byte> buffer, [System.Threading.CancellationToken cancellationToken = default])
  • System.IO.Stream.ReadAtLeast(System.Span<System.Byte> buffer, System.Int32 minimumBytes, [System.Boolean throwOnEndOfStream = true])
  • System.IO.Stream.ReadAtLeastAsync(System.Memory<System.Byte> buffer, System.Int32 minimumBytes, [System.Boolean throwOnEndOfStream = true], [System.Threading.CancellationToken cancellationToken = default])
  • System.IO.Stream.Write(System.ReadOnlySpan<System.Byte> buffer)
  • System.IO.Stream.WriteAsync(System.ReadOnlyMemory<System.Byte> buffer, [System.Threading.CancellationToken cancellationToken = default])
  • System.IO.StreamReader.ReadLineAsync()
  • System.IO.StreamReader.ReadLineAsync(System.Threading.CancellationToken cancellationToken)
  • System.IO.TextReader.ReadAsync(System.Memory<System.Char> buffer, [System.Threading.CancellationToken cancellationToken = default])
  • System.IO.TextReader.ReadToEndAsync(System.Threading.CancellationToken cancellationToken)
  • System.IO.TextWriter.WriteAsync(System.ReadOnlyMemory<System.Char> buffer, [System.Threading.CancellationToken cancellationToken = default])
  • System.Int32.TryParse(System.ReadOnlySpan<System.Byte> utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Int32 result)
  • System.Int32.TryParse(System.ReadOnlySpan<System.Byte> utf8Text, System.IFormatProvider? provider, out System.Int32 result)
  • System.Int32.TryParse(System.ReadOnlySpan<System.Char> s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Int32 result)
  • System.Int32.TryParse(System.ReadOnlySpan<System.Char> s, System.IFormatProvider? provider, out System.Int32 result)
  • System.Linq.AsyncEnumerable.AggregateAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> func, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AggregateAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TSource, TSource> func, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AggregateAsync<TSource, TAccumulate>(this System.Collections.Generic.IAsyncEnumerable source, TAccumulate seed, System.Func<TAccumulate, TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> func, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AggregateAsync<TSource, TAccumulate>(this System.Collections.Generic.IAsyncEnumerable source, TAccumulate seed, System.Func<TAccumulate, TSource, TAccumulate> func, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AggregateAsync<TSource, TAccumulate, TResult>(this System.Collections.Generic.IAsyncEnumerable source, TAccumulate seed, System.Func<TAccumulate, TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> func, System.Func<TAccumulate, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> resultSelector, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AggregateAsync<TSource, TAccumulate, TResult>(this System.Collections.Generic.IAsyncEnumerable source, TAccumulate seed, System.Func<TAccumulate, TSource, TAccumulate> func, System.Func<TAccumulate, TResult> resultSelector, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AggregateBy<TSource, TKey, TAccumulate>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> keySelector, System.Func<TKey, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> seedSelector, System.Func<TAccumulate, TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> func, [System.Collections.Generic.IEqualityComparer? keyComparer = null]) where TKey : notnull
  • System.Linq.AsyncEnumerable.AggregateBy<TSource, TKey, TAccumulate>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> keySelector, TAccumulate seed, System.Func<TAccumulate, TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> func, [System.Collections.Generic.IEqualityComparer? keyComparer = null]) where TKey : notnull
  • System.Linq.AsyncEnumerable.AggregateBy<TSource, TKey, TAccumulate>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TKey> keySelector, System.Func<TKey, TAccumulate> seedSelector, System.Func<TAccumulate, TSource, TAccumulate> func, [System.Collections.Generic.IEqualityComparer? keyComparer = null]) where TKey : notnull
  • System.Linq.AsyncEnumerable.AggregateBy<TSource, TKey, TAccumulate>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TKey> keySelector, TAccumulate seed, System.Func<TAccumulate, TSource, TAccumulate> func, [System.Collections.Generic.IEqualityComparer? keyComparer = null]) where TKey : notnull
  • System.Linq.AsyncEnumerable.AllAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AllAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AnyAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AnyAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AnyAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.Append(this System.Collections.Generic.IAsyncEnumerable source, TSource element)
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Decimal> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Double> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Int32> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Int64> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Decimal>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Double>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Int32>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Int64>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Single>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.AverageAsync(this System.Collections.Generic.IAsyncEnumerable<System.Single> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.Chunk(this System.Collections.Generic.IAsyncEnumerable source, System.Int32 size)
  • System.Linq.AsyncEnumerable.Concat(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second)
  • System.Linq.AsyncEnumerable.ContainsAsync(this System.Collections.Generic.IAsyncEnumerable source, TSource value, [System.Collections.Generic.IEqualityComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.CountAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.CountAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.CountAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.DefaultIfEmpty(this System.Collections.Generic.IAsyncEnumerable source)
  • System.Linq.AsyncEnumerable.DefaultIfEmpty(this System.Collections.Generic.IAsyncEnumerable source, TSource defaultValue)
  • System.Linq.AsyncEnumerable.DistinctBy<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> keySelector, [System.Collections.Generic.IEqualityComparer? comparer = null])
  • System.Linq.AsyncEnumerable.DistinctBy<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TKey> keySelector, [System.Collections.Generic.IEqualityComparer? comparer = null])
  • System.Linq.AsyncEnumerable.Distinct(this System.Collections.Generic.IAsyncEnumerable source, [System.Collections.Generic.IEqualityComparer? comparer = null])
  • System.Linq.AsyncEnumerable.ElementAtAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Index index, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.ElementAtAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Int32 index, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.ElementAtOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Index index, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.ElementAtOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Int32 index, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.ExceptBy<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> keySelector, [System.Collections.Generic.IEqualityComparer? comparer = null])
  • System.Linq.AsyncEnumerable.ExceptBy<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second, System.Func<TSource, TKey> keySelector, [System.Collections.Generic.IEqualityComparer? comparer = null])
  • System.Linq.AsyncEnumerable.Except(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second, [System.Collections.Generic.IEqualityComparer? comparer = null])
  • System.Linq.AsyncEnumerable.FirstAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.FirstAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.FirstAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.FirstOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.FirstOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, TSource defaultValue, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.FirstOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.FirstOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, TSource defaultValue, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.FirstOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.FirstOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, TSource defaultValue, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.Index(this System.Collections.Generic.IAsyncEnumerable source)
  • System.Linq.AsyncEnumerable.LastAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LastAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LastAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LastOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LastOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, TSource defaultValue, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LastOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LastOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, TSource defaultValue, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LastOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LastOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, TSource defaultValue, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LongCountAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LongCountAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.LongCountAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.MaxAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Collections.Generic.IComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.MaxByAsync<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> keySelector, [System.Collections.Generic.IComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.MaxByAsync<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TKey> keySelector, [System.Collections.Generic.IComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.MinAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Collections.Generic.IComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.MinByAsync<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> keySelector, [System.Collections.Generic.IComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.MinByAsync<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TKey> keySelector, [System.Collections.Generic.IComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.Prepend(this System.Collections.Generic.IAsyncEnumerable source, TSource element)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Collections.Generic.IAsyncEnumerable> selector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Collections.Generic.IEnumerable> selector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Collections.Generic.IAsyncEnumerable> selector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Collections.Generic.IEnumerable> selector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Collections.Generic.IEnumerable>> selector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Collections.Generic.IEnumerable>> selector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TCollection, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Collections.Generic.IAsyncEnumerable> collectionSelector, System.Func<TSource, TCollection, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> resultSelector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TCollection, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Collections.Generic.IAsyncEnumerable> collectionSelector, System.Func<TSource, TCollection, TResult> resultSelector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TCollection, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Collections.Generic.IEnumerable> collectionSelector, System.Func<TSource, TCollection, TResult> resultSelector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TCollection, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Collections.Generic.IAsyncEnumerable> collectionSelector, System.Func<TSource, TCollection, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> resultSelector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TCollection, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Collections.Generic.IEnumerable> collectionSelector, System.Func<TSource, TCollection, TResult> resultSelector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TCollection, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Collections.Generic.IEnumerable>> collectionSelector, System.Func<TSource, TCollection, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> resultSelector)
  • System.Linq.AsyncEnumerable.SelectMany<TSource, TCollection, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Collections.Generic.IEnumerable>> collectionSelector, System.Func<TSource, TCollection, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> resultSelector)
  • System.Linq.AsyncEnumerable.Select<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> selector)
  • System.Linq.AsyncEnumerable.Select<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, TResult> selector)
  • System.Linq.AsyncEnumerable.Select<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> selector)
  • System.Linq.AsyncEnumerable.Select<TSource, TResult>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TResult> selector)
  • System.Linq.AsyncEnumerable.SingleAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SingleAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SingleAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SingleOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SingleOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate, TSource defaultValue, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SingleOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SingleOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate, TSource defaultValue, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SingleOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SingleOrDefaultAsync(this System.Collections.Generic.IAsyncEnumerable source, TSource defaultValue, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SkipLast(this System.Collections.Generic.IAsyncEnumerable source, System.Int32 count)
  • System.Linq.AsyncEnumerable.SkipWhile(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate)
  • System.Linq.AsyncEnumerable.SkipWhile(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Boolean> predicate)
  • System.Linq.AsyncEnumerable.SkipWhile(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate)
  • System.Linq.AsyncEnumerable.SkipWhile(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate)
  • System.Linq.AsyncEnumerable.Skip(this System.Collections.Generic.IAsyncEnumerable source, System.Int32 count)
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Decimal> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Double> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Int32> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Int64> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Decimal>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Double>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Int32>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Int64>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Nullable<System.Single>> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.SumAsync(this System.Collections.Generic.IAsyncEnumerable<System.Single> source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.TakeLast(this System.Collections.Generic.IAsyncEnumerable source, System.Int32 count)
  • System.Linq.AsyncEnumerable.TakeWhile(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate)
  • System.Linq.AsyncEnumerable.TakeWhile(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Boolean> predicate)
  • System.Linq.AsyncEnumerable.TakeWhile(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate)
  • System.Linq.AsyncEnumerable.TakeWhile(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate)
  • System.Linq.AsyncEnumerable.Take(this System.Collections.Generic.IAsyncEnumerable source, System.Int32 count)
  • System.Linq.AsyncEnumerable.Take(this System.Collections.Generic.IAsyncEnumerable source, System.Range range)
  • System.Linq.AsyncEnumerable.ToArrayAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.ToAsyncEnumerable(this System.Collections.Generic.IEnumerable source)
  • System.Linq.AsyncEnumerable.ToDictionaryAsync<TKey, TValue>(this System.Collections.Generic.IAsyncEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>> source, [System.Collections.Generic.IEqualityComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default]) where TKey : notnull
  • System.Linq.AsyncEnumerable.ToDictionaryAsync<TKey, TValue>(this System.Collections.Generic.IAsyncEnumerable<System.ValueTuple<TKey, TValue>> source, [System.Collections.Generic.IEqualityComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default]) where TKey : notnull
  • System.Linq.AsyncEnumerable.ToDictionaryAsync<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> keySelector, [System.Collections.Generic.IEqualityComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default]) where TKey : notnull
  • System.Linq.AsyncEnumerable.ToDictionaryAsync<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TKey> keySelector, [System.Collections.Generic.IEqualityComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default]) where TKey : notnull
  • System.Linq.AsyncEnumerable.ToDictionaryAsync<TSource, TKey, TElement>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> keySelector, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> elementSelector, [System.Collections.Generic.IEqualityComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default]) where TKey : notnull
  • System.Linq.AsyncEnumerable.ToDictionaryAsync<TSource, TKey, TElement>(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, TKey> keySelector, System.Func<TSource, TElement> elementSelector, [System.Collections.Generic.IEqualityComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default]) where TKey : notnull
  • System.Linq.AsyncEnumerable.ToHashSetAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Collections.Generic.IEqualityComparer? comparer = null], [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.ToListAsync(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Linq.AsyncEnumerable.UnionBy<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> keySelector, [System.Collections.Generic.IEqualityComparer? comparer = null])
  • System.Linq.AsyncEnumerable.UnionBy<TSource, TKey>(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second, System.Func<TSource, TKey> keySelector, [System.Collections.Generic.IEqualityComparer? comparer = null])
  • System.Linq.AsyncEnumerable.Union(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second, [System.Collections.Generic.IEqualityComparer? comparer = null])
  • System.Linq.AsyncEnumerable.Where(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Boolean> predicate)
  • System.Linq.AsyncEnumerable.Where(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Boolean> predicate)
  • System.Linq.AsyncEnumerable.Where(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Int32, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate)
  • System.Linq.AsyncEnumerable.Where(this System.Collections.Generic.IAsyncEnumerable source, System.Func<TSource, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Boolean>> predicate)
  • System.Linq.AsyncEnumerable.Zip<TFirst, TSecond>(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second)
  • System.Linq.AsyncEnumerable.Zip<TFirst, TSecond, TThird>(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second, System.Collections.Generic.IAsyncEnumerable third)
  • System.Linq.AsyncEnumerable.Zip<TFirst, TSecond, TResult>(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second, System.Func<TFirst, TSecond, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> resultSelector)
  • System.Linq.AsyncEnumerable.Zip<TFirst, TSecond, TResult>(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second, System.Func<TFirst, TSecond, TResult> resultSelector)
  • System.Linq.Enumerable.AggregateBy<TSource, TKey, TAccumulate>(this System.Collections.Generic.IEnumerable source, System.Func<TSource, TKey> keySelector, System.Func<TKey, TAccumulate> seedSelector, System.Func<TAccumulate, TSource, TAccumulate> func, [System.Collections.Generic.IEqualityComparer? keyComparer = null]) where TKey : notnull
  • System.Linq.Enumerable.AggregateBy<TSource, TKey, TAccumulate>(this System.Collections.Generic.IEnumerable source, System.Func<TSource, TKey> keySelector, TAccumulate seed, System.Func<TAccumulate, TSource, TAccumulate> func, [System.Collections.Generic.IEqualityComparer? keyComparer = null]) where TKey : notnull
  • System.Linq.Enumerable.CountBy<TSource, TKey>(this System.Collections.Generic.IEnumerable source, System.Func<TSource, TKey> keySelector, [System.Collections.Generic.IEqualityComparer? keyComparer = null]) where TKey : notnull
  • System.Linq.Enumerable.DistinctBy<TSource, TKey>(this System.Collections.Generic.IEnumerable source, System.Func<TSource, TKey> keySelector)
  • System.Linq.Enumerable.DistinctBy<TSource, TKey>(this System.Collections.Generic.IEnumerable source, System.Func<TSource, TKey> keySelector, System.Collections.Generic.IEqualityComparer? comparer)
  • System.Linq.Enumerable.Index(this System.Collections.Generic.IEnumerable source)
  • System.Linq.Enumerable.IntersectBy<TSource, TKey>(this System.Collections.Generic.IEnumerable first, System.Collections.Generic.IEnumerable second, System.Func<TSource, TKey> keySelector)
  • System.Linq.Enumerable.IntersectBy<TSource, TKey>(this System.Collections.Generic.IEnumerable first, System.Collections.Generic.IEnumerable second, System.Func<TSource, TKey> keySelector, System.Collections.Generic.IEqualityComparer? comparer)
  • System.Linq.Enumerable.MaxBy<TSource, TKey>(this System.Collections.Generic.IEnumerable source, System.Func<TSource, TKey> keySelector)
  • System.Linq.Enumerable.MaxBy<TSource, TKey>(this System.Collections.Generic.IEnumerable source, System.Func<TSource, TKey> keySelector, System.Collections.Generic.IComparer? comparer)
  • System.Linq.Enumerable.MinBy<TSource, TKey>(this System.Collections.Generic.IEnumerable source, System.Func<TSource, TKey> keySelector)
  • System.Linq.Enumerable.MinBy<TSource, TKey>(this System.Collections.Generic.IEnumerable source, System.Func<TSource, TKey> keySelector, System.Collections.Generic.IComparer? comparer)
  • System.Linq.Enumerable.OrderDescending(this System.Collections.Generic.IEnumerable source)
  • System.Linq.Enumerable.OrderDescending(this System.Collections.Generic.IEnumerable source, System.Collections.Generic.IComparer? comparer)
  • System.Linq.Enumerable.Order(this System.Collections.Generic.IEnumerable source)
  • System.Linq.Enumerable.Order(this System.Collections.Generic.IEnumerable source, System.Collections.Generic.IComparer? comparer)
  • System.Linq.Enumerable.ToDictionary<TKey, TValue>(this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>> source) where TKey : notnull
  • System.Linq.Enumerable.ToDictionary<TKey, TValue>(this System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>> source, System.Collections.Generic.IEqualityComparer? comparer) where TKey : notnull
  • System.Linq.Enumerable.ToHashSet(this System.Collections.Generic.IEnumerable source)
  • System.Linq.Enumerable.ToHashSet(this System.Collections.Generic.IEnumerable source, System.Collections.Generic.IEqualityComparer? comparer)
  • System.Linq.Enumerable.UnionBy<TSource, TKey>(this System.Collections.Generic.IEnumerable first, System.Collections.Generic.IEnumerable second, System.Func<TSource, TKey> keySelector)
  • System.Linq.Enumerable.UnionBy<TSource, TKey>(this System.Collections.Generic.IEnumerable first, System.Collections.Generic.IEnumerable second, System.Func<TSource, TKey> keySelector, System.Collections.Generic.IEqualityComparer? comparer)
  • System.Linq.Enumerable.Zip<TFirst, TSecond>(this System.Collections.Generic.IEnumerable first, System.Collections.Generic.IEnumerable second)
  • System.Math.Clamp(System.Int32 value, System.Int32 min, System.Int32 max)
  • System.Math.Clamp(System.UInt32 value, System.UInt32 min, System.UInt32 max)
  • System.MemoryExtensions.AsSpan(this System.String? text, System.Int32 start, System.Int32 length)
  • System.MemoryExtensions.CommonPrefixLength(this System.ReadOnlySpan span, System.ReadOnlySpan other)
  • System.MemoryExtensions.CommonPrefixLength(this System.ReadOnlySpan span, System.ReadOnlySpan other, System.Collections.Generic.IEqualityComparer? comparer)
  • System.MemoryExtensions.CommonPrefixLength(this System.Span span, System.ReadOnlySpan other)
  • System.MemoryExtensions.CommonPrefixLength(this System.Span span, System.ReadOnlySpan other, System.Collections.Generic.IEqualityComparer? comparer)
  • System.MemoryExtensions.ContainsAnyExcept(this System.ReadOnlySpan span, System.ReadOnlySpan values) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAnyExcept(this System.ReadOnlySpan span, T value) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAnyExcept(this System.ReadOnlySpan span, T value0, T value1) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAnyExcept(this System.ReadOnlySpan span, T value0, T value1, T value2) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAnyExcept(this System.Span span, System.ReadOnlySpan values) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAnyExcept(this System.Span span, T value) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAnyExcept(this System.Span span, T value0, T value1) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAnyExcept(this System.Span span, T value0, T value1, T value2) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAny(this System.Span span, System.ReadOnlySpan values) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAny(this System.Span span, T value0, T value1) where T : System.IEquatable?
  • System.MemoryExtensions.ContainsAny(this System.Span span, T value0, T value1, T value2) where T : System.IEquatable?
  • System.MemoryExtensions.Contains(this System.ReadOnlySpan span, T value) where T : System.IEquatable?
  • System.MemoryExtensions.Contains(this System.Span span, T value) where T : System.IEquatable?
  • System.MemoryExtensions.IndexOfAnyExcept(this System.ReadOnlySpan span, System.ReadOnlySpan values) where T : System.IEquatable?
  • System.MemoryExtensions.IndexOfAnyExcept(this System.ReadOnlySpan span, T value) where T : System.IEquatable?
  • System.MemoryExtensions.IndexOfAnyExcept(this System.ReadOnlySpan span, T value0, T value1) where T : System.IEquatable?
  • System.MemoryExtensions.IndexOfAnyExcept(this System.ReadOnlySpan span, T value0, T value1, T value2) where T : System.IEquatable?
  • System.MemoryExtensions.IndexOfAnyExcept(this System.Span span, System.ReadOnlySpan values) where T : System.IEquatable?
  • System.MemoryExtensions.IndexOfAnyExcept(this System.Span span, T value) where T : System.IEquatable?
  • System.MemoryExtensions.IndexOfAnyExcept(this System.Span span, T value0, T value1) where T : System.IEquatable?
  • System.MemoryExtensions.IndexOfAnyExcept(this System.Span span, T value0, T value1, T value2) where T : System.IEquatable?
  • System.Net.Http.HttpContent.CopyTo(System.IO.Stream stream, System.Net.TransportContext? context, System.Threading.CancellationToken cancellationToken)
  • System.Net.Http.HttpContent.CopyToAsync(System.IO.Stream stream)
  • System.Net.Http.HttpContent.CopyToAsync(System.IO.Stream stream, System.Net.TransportContext? context)
  • System.Net.Http.HttpContent.CopyToAsync(System.IO.Stream stream, System.Net.TransportContext? context, System.Threading.CancellationToken cancellationToken)
  • System.Net.Http.HttpContent.CopyToAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken)
  • System.Net.Http.HttpContent.ReadAsByteArrayAsync(System.Threading.CancellationToken cancellationToken)
  • System.Net.Http.HttpContent.ReadAsStream(System.Threading.CancellationToken cancellationToken)
  • System.Net.Http.HttpContent.ReadAsStream()
  • System.Net.Http.HttpContent.ReadAsStringAsync(System.Threading.CancellationToken cancellationToken)
  • System.Net.Sockets.UdpClient.Send(System.ReadOnlySpan<System.Byte> datagram, System.Net.IPEndPoint? endPoint)
  • System.Net.Sockets.UdpClient.Send(System.ReadOnlySpan<System.Byte> datagram, System.String? hostname, System.Int32 port)
  • System.Net.Sockets.UdpClient.SendAsync(System.ReadOnlyMemory<System.Byte> datagram, System.Net.IPEndPoint? endPoint, [System.Threading.CancellationToken cancellationToken = default])
  • System.Net.Sockets.UdpClient.SendAsync(System.ReadOnlyMemory<System.Byte> datagram, System.String? hostname, System.Int32 port, [System.Threading.CancellationToken cancellationToken = default])
  • System.Net.Sockets.UdpClient.SendAsync(System.ReadOnlyMemory<System.Byte> datagram, [System.Threading.CancellationToken cancellationToken = default])
  • System.ObjectDisposedException.ThrowIf(System.Boolean condition, System.Object instance)
  • System.ObjectDisposedException.ThrowIf(System.Boolean condition, System.Type type)
  • System.OperatingSystem.IsLinux()
  • System.OperatingSystem.IsMacOS()
  • System.OperatingSystem.IsWindows()
  • System.OperatingSystem.IsWindowsVersionAtLeast(System.Int32 major, [System.Int32 minor = 0], [System.Int32 build = 0], [System.Int32 revision = 0])
  • System.Security.Cryptography.MD5.HashData(System.ReadOnlySpan<System.Byte> source)
  • System.Security.Cryptography.SHA256.HashData(System.ReadOnlySpan<System.Byte> source)
  • System.String.Concat(System.ReadOnlySpan<System.Char> str0, System.ReadOnlySpan<System.Char> str1)
  • System.String.Concat(System.ReadOnlySpan<System.Char> str0, System.ReadOnlySpan<System.Char> str1, System.ReadOnlySpan<System.Char> str2)
  • System.String.Concat(System.ReadOnlySpan<System.Char> str0, System.ReadOnlySpan<System.Char> str1, System.ReadOnlySpan<System.Char> str2, System.ReadOnlySpan<System.Char> str3)
  • System.String.Contains(System.Char value)
  • System.String.Contains(System.Char value, System.StringComparison comparisonType)
  • System.String.Contains(System.String value, System.StringComparison comparisonType)
  • System.String.CopyTo(System.Span<System.Char> destination)
  • System.String.Create(System.IFormatProvider? provider, ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler)
  • System.String.EndsWith(System.Char value)
  • System.String.GetHashCode(System.StringComparison comparisonType)
  • System.String.IndexOf(System.Char value, System.StringComparison comparisonType)
  • System.String.Join(System.Char separator, params System.Object?[] values)
  • System.String.Join(System.Char separator, params System.ReadOnlySpan<System.Object?> values)
  • System.String.Join(System.Char separator, params System.ReadOnlySpan<System.String?> value)
  • System.String.Join(System.Char separator, params System.String?[] value)
  • System.String.Join(System.Char separator, System.Collections.Generic.IEnumerable values)
  • System.String.Replace(System.String oldValue, System.String? newValue, System.StringComparison comparisonType)
  • System.String.ReplaceLineEndings(System.String replacementText)
  • System.String.ReplaceLineEndings()
  • System.String.Split(System.Char separator, System.Int32 count, [System.StringSplitOptions options = System.StringSplitOptions.None])
  • System.String.Split(System.Char separator, [System.StringSplitOptions options = System.StringSplitOptions.None])
  • System.String.StartsWith(System.Char value)
  • System.String.TryCopyTo(System.Span<System.Char> destination)
  • System.Text.Encoding.GetByteCount(System.ReadOnlySpan<System.Char> chars)
  • System.Text.Encoding.GetBytes(System.ReadOnlySpan<System.Char> chars, System.Span<System.Byte> bytes)
  • System.Text.Encoding.GetCharCount(System.ReadOnlySpan<System.Byte> bytes)
  • System.Text.Encoding.GetChars(System.ReadOnlySpan<System.Byte> bytes, System.Span<System.Char> chars)
  • System.Text.Encoding.GetString(System.ReadOnlySpan<System.Byte> bytes)
  • System.Text.Encoding.TryGetBytes(System.ReadOnlySpan<System.Char> chars, System.Span<System.Byte> bytes, out System.Int32 bytesWritten)
  • System.Text.Encoding.TryGetChars(System.ReadOnlySpan<System.Byte> bytes, System.Span<System.Char> chars, out System.Int32 charsWritten)
  • System.Text.StringBuilder.Append(System.ReadOnlyMemory<System.Char> value)
  • System.Text.StringBuilder.Append(System.ReadOnlySpan<System.Char> value)
  • System.Text.StringBuilder.AppendJoin(System.Char separator, params System.Object?[] values)
  • System.Text.StringBuilder.AppendJoin(System.Char separator, params System.String?[] values)
  • System.Text.StringBuilder.AppendJoin(System.String? separator, params System.Object?[] values)
  • System.Text.StringBuilder.AppendJoin(System.String? separator, params System.String?[] values)
  • System.Text.StringBuilder.AppendJoin(System.Char separator, System.Collections.Generic.IEnumerable values)
  • System.Text.StringBuilder.AppendJoin(System.String? separator, System.Collections.Generic.IEnumerable values)
  • System.Text.StringBuilder.Replace(System.ReadOnlySpan<System.Char> oldValue, System.ReadOnlySpan<System.Char> newValue)
  • System.Text.StringBuilder.Replace(System.ReadOnlySpan<System.Char> oldValue, System.ReadOnlySpan<System.Char> newValue, System.Int32 startIndex, System.Int32 count)
  • System.Threading.CancellationTokenSource.CancelAsync()
  • System.Threading.Tasks.Task.WaitAsync(System.Threading.CancellationToken cancellationToken)
  • System.Threading.Tasks.Task.WaitAsync(System.TimeSpan timeout)
  • System.Threading.Tasks.Task.WaitAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken)
  • System.Threading.Tasks.TaskAsyncEnumerableExtensions.ToBlockingEnumerable(this System.Collections.Generic.IAsyncEnumerable source, [System.Threading.CancellationToken cancellationToken = default])
  • System.Threading.Tasks.Task.WaitAsync(System.Threading.CancellationToken cancellationToken)
  • System.Threading.Tasks.Task.WaitAsync(System.TimeSpan timeout)
  • System.Threading.Tasks.Task.WaitAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken)
  • System.TimeSpan.Multiply(System.Double factor)
  • System.Type.GetConstructor(System.Reflection.BindingFlags bindingAttr, System.Type[] types)
  • System.Type.GetMethod(System.String name, System.Reflection.BindingFlags bindingAttr, System.Type[] types)
  • System.Type.IsAssignableTo(System.Type? targetType)

Properties (4)

  • System.Collections.ObjectModel.ReadOnlyCollection.Empty
  • System.Collections.ObjectModel.ReadOnlyDictionary<TKey, TValue>.Empty
  • System.Environment.ProcessId
  • System.Net.Http.HttpMethod.Query

Contribution

How to add a new polyfill
  • Create a new file named .cs in the project Meziantou.Polyfill.Editor
  • Run Meziantou.Polyfill.Generator

Notes:

  • All files must be self contained. Use a file class if needed.
  • If you need to generate a file only when another polyfill is generated, add // when in the file
  • If xml documentation id is too long, you can use // XML-DOC: in the file
  • If you are not sure about the xml documentation id, you can run the generator dotnet run --project Meziantou.Polyfill.Generator -- --generate-all-symbols and open the file Meziantou.Polyfill.Editor\_AllSymbols.txt

Changes from Previous Version

No structural changes between v1.0.80 and v1.0.81.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.