System.Collections.Immutable by Microsoft

<PackageReference Include="System.Collections.Immutable" Version="8.0.0-preview.4.23259.5" />

.NET API 247,456 bytes

 Constants

static class Constants
using System.Runtime.CompilerServices; using System.Text; namespace System.Collections.Frozen { internal static class Constants { public const int MaxItemsInSmallFrozenCollection = 4; public const int MaxItemsInSmallValueTypeFrozenCollection = 10; [System.Runtime.CompilerServices.NullableContext(2)] public static bool IsKnownComparable<T>() { if (!(typeof(T) == typeof(bool)) && !(typeof(T) == typeof(sbyte)) && !(typeof(T) == typeof(byte)) && !(typeof(T) == typeof(char)) && !(typeof(T) == typeof(short)) && !(typeof(T) == typeof(ushort)) && !(typeof(T) == typeof(int)) && !(typeof(T) == typeof(uint)) && !(typeof(T) == typeof(long)) && !(typeof(T) == typeof(ulong)) && !(typeof(T) == typeof(IntPtr)) && !(typeof(T) == typeof(UIntPtr)) && !(typeof(T) == typeof(decimal)) && !(typeof(T) == typeof(float)) && !(typeof(T) == typeof(double)) && !(typeof(T) == typeof(decimal)) && !(typeof(T) == typeof(TimeSpan)) && !(typeof(T) == typeof(DateTime)) && !(typeof(T) == typeof(DateTimeOffset)) && !(typeof(T) == typeof(Guid)) && !(typeof(T) == typeof(Rune)) && !(typeof(T) == typeof(Half)) && !(typeof(T) == typeof(DateOnly)) && !(typeof(T) == typeof(TimeOnly))) return typeof(T).IsEnum; return true; } } }