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

Newtonsoft.Json.Utilities.CollectionUtils

static class CollectionUtils
namespace Newtonsoft.Json.Utilities { internal static class CollectionUtils { public static bool IsNullOrEmpty<[System.Runtime.CompilerServices.Nullable(2)] T>(ICollection<T> collection); public static void AddRange<[System.Runtime.CompilerServices.Nullable(2)] T>(this IList<T> initial, IEnumerable<T> collection); public static bool IsDictionaryType(Type type); public static ConstructorInfo ResolveEnumerableCollectionConstructor(Type collectionType, Type collectionItemType); public static ConstructorInfo ResolveEnumerableCollectionConstructor(Type collectionType, Type collectionItemType, Type constructorArgumentType); public static bool AddDistinct<[System.Runtime.CompilerServices.Nullable(2)] T>(this IList<T> list, T value); public static bool AddDistinct<[System.Runtime.CompilerServices.Nullable(2)] T>(this IList<T> list, T value, IEqualityComparer<T> comparer); public static bool ContainsValue<[System.Runtime.CompilerServices.Nullable(2)] TSource>(this IEnumerable<TSource> source, TSource value, IEqualityComparer<TSource> comparer); public static bool AddRangeDistinct<[System.Runtime.CompilerServices.Nullable(2)] T>(this IList<T> list, IEnumerable<T> values, IEqualityComparer<T> comparer); public static int IndexOf<[System.Runtime.CompilerServices.Nullable(2)] T>(this IEnumerable<T> collection, Func<T, bool> predicate); public static bool Contains<[System.Runtime.CompilerServices.Nullable(2)] T>(this List<T> list, T value, IEqualityComparer comparer); public static int IndexOfReference<[System.Runtime.CompilerServices.Nullable(2)] T>(this List<T> list, T item); public static void FastReverse<[System.Runtime.CompilerServices.Nullable(2)] T>(this List<T> list); public static Array ToMultidimensionalArray(IList values, Type type, int rank); public static T[] ArrayEmpty<[System.Runtime.CompilerServices.Nullable(2)] T>(); } }