Contains polyfills from the mscorlib for .NET Framework 4.0. Add: System.Index System.HashCode System.Range System.Collections.Generic.IReadOnlySet System.Numerics.BitOperations System.Runtime.CompilerServices.DefaultInterpolatedStringHandler System.Runtime.CompilerServices.Unsafe System.Threading.Volatile Extensions: System.ArgumentExceptionEx: - ThrowIfNullOrEmpty - ThrowIfNullOrWhiteSpace System.ArgumentNullExceptionEx: - ThrowIfNull System.ArgumentOutOfRangeExceptionEx: - ThrowIfZero - ThrowIfNegative - ThrowIfNegativeOrZero - ThrowIfEqual - ThrowIfNotEqual - ThrowIfGreaterThan - ThrowIfGreaterThanOrEqual - ThrowIfLessThan - ThrowIfLessThanOrEqual System.ObjectDisposedExceptionEx: - ThrowIf System.OperatingSystemEx: - VersionString - IsOSPlatform - IsOSPlatformVersionAtLeast System.StringEx: - Create - Join - Split - Trim - TrimStart - TrimEnd - Contains - IndexOf - EndsWith - StartsWith System.Text.StringBuilderEx: - AppendInterpolatedStringHandler
$ dotnet add package mscorlib.Polyfill.NET40Set of polyfills for old .NET Framework.
This library can be installed through NuGet: