System.ExceptionPolyfills
Provides downlevel polyfills for static methods on Exception-derived types.
public static void ThrowIfGreaterThan<T>(T value, T other, string paramName = null) where T : IComparable<T>
public static void ThrowIfGreaterThanOrEqual<T>(T value, T other, string paramName = null) where T : IComparable<T>
public static void ThrowIfLessThan<T>(T value, T other, string paramName = null) where T : IComparable<T>
public static void ThrowIfLessThanOrEqual<T>(T value, T other, string paramName = null) where T : IComparable<T>