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