Newtonsoft.Json.Utilities.CollectionUtils
namespace Newtonsoft.Json.Utilities
{
internal static class CollectionUtils
{
public static bool IsNullOrEmpty<T>(ICollection<T> collection);
public static void AddRange<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<T>(this IList<T> list, T value);
public static bool AddDistinct<T>(this IList<T> list, T value, IEqualityComparer<T> comparer);
public static bool ContainsValue<TSource>(this IEnumerable<TSource> source, TSource value, IEqualityComparer<TSource> comparer);
public static bool AddRangeDistinct<T>(this IList<T> list, IEnumerable<T> values, IEqualityComparer<T> comparer);
public static int IndexOf<T>(this IEnumerable<T> collection, Func<T, bool> predicate);
public static bool Contains<T>(this List<T> list, T value, IEqualityComparer comparer);
public static int IndexOfReference<T>(this List<T> list, T item);
public static Array ToMultidimensionalArray(IList values, Type type, int rank);
public static T[] ArrayEmpty<T>();
}
}