14 references to ImmutableSegmentedList
Microsoft.CodeAnalysis.CodeStyle (14)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (6)
76public static readonly ImmutableSegmentedList<T> Empty = new(new SegmentedList<T>()); 148return new ImmutableSegmentedList<T>(list); 177return new ImmutableSegmentedList<T>(list); 209=> new ImmutableSegmentedList<TOutput>(_list.ConvertAll(converter)); 232=> new ImmutableSegmentedList<T>(_list.FindAll(match)); 300return new ImmutableSegmentedList<T>(self._list.GetRange(index, count));
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+PrivateMarshal.cs (4)
26return new ImmutableSegmentedList<T>(list); 35return new ImmutableSegmentedList<T>(list); 44return new ImmutableSegmentedList<T>(list); 49=> list is not null ? new ImmutableSegmentedList<T>(list) : default;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (4)
126=> new ImmutableSegmentedList<TOutput>(ReadOnlyList.ConvertAll(converter)); 144=> new ImmutableSegmentedList<T>(ReadOnlyList.FindAll(match)); 196return new ImmutableSegmentedList<T>(ReadOnlyList.GetRange(index, count)); 327_list = new ImmutableSegmentedList<T>(ReadOnlyList);