8 references to SegmentedDictionary
Microsoft.CodeAnalysis (8)
PEWriter\FullMetadataWriter.cs (2)
102
_parameterListIndex = new
SegmentedDictionary
<IMethodDefinition, int>(numMethods, ReferenceEqualityComparer.Instance);
436
_index = new
SegmentedDictionary
<T, int>(capacity, ReferenceEqualityComparer.Instance);
PEWriter\MetadataWriter.cs (1)
113
_signatureIndex = new
SegmentedDictionary
<ISignature, KeyValuePair<BlobHandle, ImmutableArray<byte>>>(module.HintNumberOfMethodDefinitions, ReferenceEqualityComparer.Instance); //ignores field signatures
src\Dependencies\Collections\Segmented\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)