8 references to Constants
System.Collections.Immutable (8)
System\Collections\Frozen\FrozenDictionary.cs (3)
125if (source.Count <= Constants.MaxItemsInSmallValueTypeFrozenCollection) 129if (Constants.IsKnownComparable<TKey>()) 233if (source.Count <= Constants.MaxItemsInSmallFrozenCollection)
System\Collections\Frozen\FrozenSet.cs (3)
106if (source.Count <= Constants.MaxItemsInSmallValueTypeFrozenCollection) 110if (Constants.IsKnownComparable<T>()) 216if (source.Count <= Constants.MaxItemsInSmallFrozenCollection)
System\Collections\Frozen\ValueTypeDefaultComparerFrozenDictionary.cs (1)
16internal ValueTypeDefaultComparerFrozenDictionary(Dictionary<TKey, TValue> source) : base(source, Constants.KeysAreHashCodes<TKey>())
System\Collections\Frozen\ValueTypeDefaultComparerFrozenSet.cs (1)
13internal ValueTypeDefaultComparerFrozenSet(HashSet<T> source) : base(source, Constants.KeysAreHashCodes<T>())