7 references to SegmentedDictionary
Microsoft.CodeAnalysis (7)
PEWriter\FullMetadataWriter.cs (2)
103_parameterListIndex = new SegmentedDictionary<IMethodDefinition, int>(numMethods, ReferenceEqualityComparer.Instance); 437_index = new SegmentedDictionary<T, int>(capacity, ReferenceEqualityComparer.Instance);
src\Dependencies\Collections\SegmentedDictionary`2.cs (5)
67: this(0, null) 72: this(capacity, null) 77: this(0, comparer) 122: this(dictionary?.Count ?? 0, comparer) 138: this((collection as ICollection<KeyValuePair<TKey, TValue>>)?.Count ?? 0, comparer)