Contains polyfills from the mscorlib for .NET Framework 2.0 and .NET Framework 3.5. Add: System.Index System.IProgress System.HashCode System.Progress System.Range System.Collections.Generic.IReadOnlyCollection System.Collections.Generic.IReadOnlyDictionary System.Collections.Generic.IReadOnlyList System.Collections.Generic.IReadOnlySet System.Net.DnsEndPoint 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.EnumEx: - TryParse<TEnum> System.EnvironmentEx: - Is64BitProcess - Is64BitOperatingSystem System.ObjectDisposedExceptionEx: - ThrowIf System.OperatingSystemEx: - VersionString - IsOSPlatform - IsOSPlatformVersionAtLeast System.RandomEx: - GetItems System.StringEx: - Create - Concat - IsNullOrWhiteSpace - Join - Split - Trim - TrimStart - TrimEnd - Contains - IndexOf - EndsWith - StartsWith System.Text.StringBuilderEx: - Clear - AppendInterpolatedStringHandler
$ dotnet add package mscorlib.Polyfill.NET35Set of polyfills for old .NET Framework.
This library can be installed through NuGet: