14 references to ImmutableSegmentedList
Microsoft.CodeAnalysis.Workspaces (14)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (6)
74public static readonly ImmutableSegmentedList<T> Empty = new(new SegmentedList<T>()); 146return new ImmutableSegmentedList<T>(list); 175return new ImmutableSegmentedList<T>(list); 207=> new ImmutableSegmentedList<TOutput>(_list.ConvertAll(converter)); 230=> new ImmutableSegmentedList<T>(_list.FindAll(match)); 298return new ImmutableSegmentedList<T>(self._list.GetRange(index, count));
src\Dependencies\Collections\ImmutableSegmentedList`1+PrivateMarshal.cs (4)
24return new ImmutableSegmentedList<T>(list); 33return new ImmutableSegmentedList<T>(list); 42return new ImmutableSegmentedList<T>(list); 47=> list is not null ? new ImmutableSegmentedList<T>(list) : default;
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (4)
124=> new ImmutableSegmentedList<TOutput>(ReadOnlyList.ConvertAll(converter)); 142=> new ImmutableSegmentedList<T>(ReadOnlyList.FindAll(match)); 194return new ImmutableSegmentedList<T>(ReadOnlyList.GetRange(index, count)); 325_list = new ImmutableSegmentedList<T>(ReadOnlyList);