9 instantiations of SegmentedList
Microsoft.Build.Framework (9)
ImmutableSegmentedList`1.cs (3)
74public static readonly ImmutableSegmentedList<T> Empty = new(new SegmentedList<T>()); 145var list = new SegmentedList<T> { value }; 174var list = new SegmentedList<T>(items);
ImmutableSegmentedList`1+ValueBuilder.cs (2)
78_mutableList = new SegmentedList<T>(originalList._list); 110_mutableList = new SegmentedList<T>();
RoslynEnumerable.cs (1)
18return new SegmentedList<TSource>(source);
SegmentedList`1.cs (3)
365var list = new SegmentedList<TOutput>(_size); 467var list = new SegmentedList<T>(); 627var list = new SegmentedList<T>(count);
25 references to SegmentedList
Microsoft.Build.Framework (25)
ImmutableSegmentedList`1.cs (4)
76private readonly SegmentedList<T> _list; 78private ImmutableSegmentedList(SegmentedList<T> list) 145var list = new SegmentedList<T> { value }; 174var list = new SegmentedList<T>(items);
ImmutableSegmentedList`1+Enumerator.cs (3)
14private readonly SegmentedList<T> _list; 15private SegmentedList<T>.Enumerator _enumerator; 17internal Enumerator(SegmentedList<T> list)
ImmutableSegmentedList`1+PrivateInterlocked.cs (3)
19var list = Volatile.Read(ref Unsafe.AsRef(in location._list)); 28var list = Interlocked.Exchange(ref Unsafe.AsRef(in location._list), value._list); 37var list = Interlocked.CompareExchange(ref Unsafe.AsRef(in location._list), value._list, comparand._list);
ImmutableSegmentedList`1+ValueBuilder.cs (3)
25private SegmentedList<T>? _mutableList; 35private SegmentedList<T> ReadOnlyList => _mutableList ?? _list._list; 70private SegmentedList<T> GetOrCreateMutableList()
RoslynEnumerable.cs (1)
13public static SegmentedList<TSource> ToSegmentedList<TSource>(this IEnumerable<TSource> source)
SegmentedList`1.cs (11)
76if (collection is SegmentedList<T> segmentedList) 358public SegmentedList<TOutput> ConvertAll<TOutput>(Converter<T, TOutput> converter) 365var list = new SegmentedList<TOutput>(_size); 460public SegmentedList<T> FindAll(Predicate<T> match) 467var list = new SegmentedList<T>(); 610public SegmentedList<T> GetRange(int index, int count) 627var list = new SegmentedList<T>(count); 772else if (c is SegmentedList<T> list) 1166private readonly SegmentedList<T> _list; 1171internal Enumerator(SegmentedList<T> list) 1185var localList = _list;