<PackageReference Include="Newtonsoft.Json" Version="14.0.1-beta2" />

Newtonsoft.Json.Utilities.CollectionUtils

static class CollectionUtils
public static bool AddDistinct<T>(this IList<T> list, T value)

public static bool AddDistinct<T>(this IList<T> list, T value, IEqualityComparer<T> comparer)

public static void AddRange<T>(this IList<T> initial, IEnumerable<T> collection)

public static bool AddRangeDistinct<T>(this IList<T> list, IEnumerable<T> values, IEqualityComparer<T> comparer)

public static T[] ArrayEmpty<T>()

public static bool Contains<T>(this List<T> list, T value, IEqualityComparer comparer)

public static bool ContainsValue<TSource>(this IEnumerable<TSource> source, TSource value, IEqualityComparer<TSource> comparer)

public static void FastReverse<T>(this List<T> list)

public static int IndexOf<T>(this IEnumerable<T> collection, Func<T, bool> predicate)

public static int IndexOfReference<T>(this List<T> list, T item)

public static bool IsDictionaryType(Type type)

public static bool IsNullOrEmpty<T>(ICollection<T> collection)

public static ConstructorInfo ResolveEnumerableCollectionConstructor(Type collectionType, Type collectionItemType)

public static ConstructorInfo ResolveEnumerableCollectionConstructor(Type collectionType, Type collectionItemType, Type constructorArgumentType)

public static Array ToMultidimensionalArray(IList values, Type type, int rank)