1 write to _list
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
81
=>
_list
= list;
49 references to _list
Microsoft.CodeAnalysis (49)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (40)
67
/// <see cref="
_list
"/> field, that counts as a dereference of <c>this</c>. Calling other instance members
83
public int Count =>
_list
.Count;
85
public bool IsDefault =>
_list
== null;
88
public bool IsEmpty =>
_list
.Count == 0;
98
object ICollection.SyncRoot =>
_list
;
100
public T this[int index] =>
_list
[index];
104
get =>
_list
[index];
110
get =>
_list
[index];
137
return ref self.
_list
._items[index];
190
=>
_list
.BinarySearch(item);
194
=>
_list
.BinarySearch(item, comparer);
198
=>
_list
.BinarySearch(index, count, item, comparer);
205
=>
_list
.Contains(value);
209
=> new ImmutableSegmentedList<TOutput>(
_list
.ConvertAll(converter));
213
=>
_list
.CopyTo(array);
216
=>
_list
.CopyTo(array, arrayIndex);
220
=>
_list
.CopyTo(index, array, arrayIndex, count);
224
=>
_list
.Exists(match);
228
=>
_list
.Find(match);
232
=> new ImmutableSegmentedList<T>(
_list
.FindAll(match));
236
=>
_list
.FindIndex(match);
240
=>
_list
.FindIndex(startIndex, match);
244
=>
_list
.FindIndex(startIndex, count, match);
248
=>
_list
.FindLast(match);
252
=>
_list
.FindLastIndex(match);
266
return self.
_list
.FindLastIndex(startIndex, match);
281
return self.
_list
.FindLastIndex(startIndex, count, match);
286
=>
_list
.ForEach(action);
290
=> new(
_list
);
300
return new ImmutableSegmentedList<T>(self.
_list
.GetRange(index, count));
304
=>
_list
.IndexOf(value);
307
=>
_list
.IndexOf(item, index, count, equalityComparer);
357
return self.
_list
.LastIndexOf(item, index, count, equalityComparer);
588
=>
_list
?.GetHashCode() ?? 0;
597
=>
_list
== other.
_list
;
601
=>
_list
.TrueForAll(match);
668
IList backingList =
_list
;
674
IList backingList =
_list
;
689
IList backingList =
_list
;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+PrivateMarshal.cs (7)
22
var list = Volatile.Read(ref Unsafe.AsRef(in location.
_list
));
31
var list = Interlocked.Exchange(ref Unsafe.AsRef(in location.
_list
), value.
_list
);
40
var list = Interlocked.CompareExchange(ref Unsafe.AsRef(in location.
_list
), value.
_list
, comparand.
_list
);
53
=> list.
_list
;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (2)
37
private readonly SegmentedList<T> ReadOnlyList => _mutableList ?? _list.
_list
;
80
_mutableList = new SegmentedList<T>(originalList.
_list
);