6 references to new
System.Collections (5)
System\Collections\Generic\OrderedDictionary.cs (5)
59
public OrderedDictionary() :
this
(0, null)
69
public OrderedDictionary(int capacity) :
this
(capacity, null)
81
public OrderedDictionary(IEqualityComparer<TKey>? comparer) :
this
(0, comparer)
161
this
(dictionary?.Count ?? 0, comparer)
195
this
((collection as ICollection<KeyValuePair<TKey, TValue>>)?.Count ?? 0, comparer)
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
284
return
new
(capacity, comparer);