7 references to ImmutableSegmentedDictionary
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (2)
73
public static readonly ImmutableSegmentedDictionary<TKey, TValue> Empty =
new
(new SegmentedDictionary<TKey, TValue>());
283
return new
ImmutableSegmentedDictionary
<TKey, TValue>(new SegmentedDictionary<TKey, TValue>(keyComparer));
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+PrivateMarshal.cs (4)
24
return new
ImmutableSegmentedDictionary
<TKey, TValue>(dictionary);
33
return new
ImmutableSegmentedDictionary
<TKey, TValue>(dictionary);
42
return new
ImmutableSegmentedDictionary
<TKey, TValue>(dictionary);
51
=> dictionary is not null ? new
ImmutableSegmentedDictionary
<TKey, TValue>(dictionary) : default;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
229
_dictionary = new
ImmutableSegmentedDictionary
<TKey, TValue>(ReadOnlyDictionary);