6 references to new
System.Collections (5)
System\Collections\Generic\OrderedDictionary.cs (5)
64
public OrderedDictionary() :
this
(0, null)
74
public OrderedDictionary(int capacity) :
this
(capacity, null)
86
public OrderedDictionary(IEqualityComparer<TKey>? comparer) :
this
(0, comparer)
166
this
(dictionary?.Count ?? 0, comparer)
200
this
((collection as ICollection<KeyValuePair<TKey, TValue>>)?.Count ?? 0, comparer)
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
244
return
new
(capacity, comparer);