7 references to ImmutableSegmentedDictionary
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (2)
73public static readonly ImmutableSegmentedDictionary<TKey, TValue> Empty = new(new SegmentedDictionary<TKey, TValue>()); 283return new ImmutableSegmentedDictionary<TKey, TValue>(new SegmentedDictionary<TKey, TValue>(keyComparer));
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+PrivateMarshal.cs (4)
24return new ImmutableSegmentedDictionary<TKey, TValue>(dictionary); 33return new ImmutableSegmentedDictionary<TKey, TValue>(dictionary); 42return 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);