1 write to _list
Microsoft.Build.Framework (1)
ImmutableSegmentedList`1.cs (1)
79=> _list = list;
48 references to _list
Microsoft.Build.Framework (48)
ImmutableSegmentedList`1.cs (40)
65/// <see cref="_list"/> field, that counts as a dereference of <c>this</c>. Calling other instance members 81public int Count => _list.Count; 83public bool IsDefault => _list == null; 86public bool IsEmpty => _list.Count == 0; 96object ICollection.SyncRoot => _list; 98public T this[int index] => _list[index]; 102get => _list[index]; 108get => _list[index]; 135return ref self._list._items[index]; 188=> _list.BinarySearch(item); 192=> _list.BinarySearch(item, comparer); 196=> _list.BinarySearch(index, count, item, comparer); 203=> _list.Contains(value); 207=> new ImmutableSegmentedList<TOutput>(_list.ConvertAll(converter)); 211=> _list.CopyTo(array); 214=> _list.CopyTo(array, arrayIndex); 218=> _list.CopyTo(index, array, arrayIndex, count); 222=> _list.Exists(match); 226=> _list.Find(match); 230=> new ImmutableSegmentedList<T>(_list.FindAll(match)); 234=> _list.FindIndex(match); 238=> _list.FindIndex(startIndex, match); 242=> _list.FindIndex(startIndex, count, match); 246=> _list.FindLast(match); 250=> _list.FindLastIndex(match); 264return self._list.FindLastIndex(startIndex, match); 279return self._list.FindLastIndex(startIndex, count, match); 284=> _list.ForEach(action); 288=> new(_list); 298return new ImmutableSegmentedList<T>(self._list.GetRange(index, count)); 302=> _list.IndexOf(value); 305=> _list.IndexOf(item, index, count, equalityComparer); 355return self._list.LastIndexOf(item, index, count, equalityComparer); 586=> _list?.GetHashCode() ?? 0; 595=> _list == other._list; 599=> _list.TrueForAll(match); 666IList backingList = _list; 672IList backingList = _list; 687IList backingList = _list;
ImmutableSegmentedList`1+PrivateInterlocked.cs (6)
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 (2)
35private SegmentedList<T> ReadOnlyList => _mutableList ?? _list._list; 78_mutableList = new SegmentedList<T>(originalList._list);