24 writes to
Microsoft.Build.Framework (24)
ImmutableSegmentedList`1.cs (1)
135
return ref self._list._items
[
index];
ImmutableSegmentedList`1+ValueBuilder.cs (1)
67
return ref ReadOnlyList._items
[
index];
SegmentedArray.cs (2)
349
array
[
firstIndex] = array[lastIndex];
350
array
[
lastIndex] = temp;
SegmentedArray`1.cs (2)
136
set => this
[
index] = value;
142
set => this
[
index] = (T)value!;
SegmentedArraySegment`1.cs (1)
27
return ref Array
[
index + Start];
SegmentedDictionary`2.cs (9)
359
entry = ref entries
[
i];
391
entry = ref entries
[
i];
423
entry = ref entries
[
i];
696
ref var entry = ref entries
[
i];
768
ref var entry = ref entries
[
i];
992
ref var entry = ref entries
[
count];
1167
ref var entry = ref _dictionary._entries
[
_index++];
1414
ref var entry = ref _dictionary._entries
[
_index++];
1614
ref var entry = ref _dictionary._entries
[
_index++];
SegmentedList`1.cs (8)
186
_items
[
index] = value;
229
array
[
size] = item;
244
_items
[
size] = item;
368
list._items
[
i] = converter(_items[i]);
717
_items
[
index] = item;
784
_items
[
targetIndex++] = item;
957
_items
[
freeIndex++] = _items[current++];
991
_items
[
_size] = default!;
80 references to
Microsoft.Build.Framework (80)
ArraySortHelper.cs (3)
89
int order = comparer.Compare(array
[
i], value);
369
if (array
[
i] == null)
375
order = array
[
i].CompareTo(value!);
SegmentedArray.cs (5)
239
if (comparer.Equals(array
[
i], value))
310
if (EqualityComparer<T>.Default.Equals(array
[
i], value))
319
if (comparer.Equals(array
[
i], value))
348
var temp = array
[
firstIndex];
349
array[firstIndex] = array
[
lastIndex];
SegmentedArray`1.cs (8)
131
T IReadOnlyList<T>.this[int index] => this
[
index];
135
get => this
[
index];
141
get => this
[
index];
321
var result = comparer.Compare(this
[
i], o
[
i]);
345
if (!comparer.Equals(this
[
i], o
[
i]))
364
ret = unchecked((ret * (int)0xA5555529) + comparer.GetHashCode(this
[
i]!));
SegmentedDictionary`2.cs (48)
124
if (entries
[
i]._next >= -1)
126
Add(entries
[
i]._key, entries
[
i]._value);
258
if (entries
[
i]._next >= -1 && entries
[
i]._value == null)
269
if (entries
[
i]._next >= -1 && EqualityComparer<TValue>.Default.Equals(entries
[
i]._value, value))
283
if (entries
[
i]._next >= -1 && defaultComparer.Equals(entries
[
i]._value, value))
314
if (entries
[
i]._next >= -1)
316
array[index++] = new KeyValuePair<TKey, TValue>(entries
[
i]._key, entries
[
i]._value);
505
if (entries
[
i]._hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entries
[
i]._key, key))
509
entries
[
i]._value = value;
521
i = entries
[
i]._next;
547
if (entries
[
i]._hashCode == hashCode && defaultComparer.Equals(entries
[
i]._key, key))
551
entries
[
i]._value = value;
563
i = entries
[
i]._next;
586
if (entries
[
i]._hashCode == hashCode && comparer.Equals(entries
[
i]._key, key))
590
entries
[
i]._value = value;
602
i = entries
[
i]._next;
618
Debug.Assert((StartOfFreeList - entries
[
_freeList]._next) >= -1, "shouldn't overflow because `next` cannot underflow");
619
_freeList = StartOfFreeList - entries
[
_freeList]._next;
663
if (entries
[
i]._next >= -1)
665
ref var bucket = ref GetBucket(entries
[
i]._hashCode);
666
entries
[
i]._next = bucket - 1; // Value in _buckets is 1-based
706
entries
[
last]._next = entry._next;
778
entries
[
last]._next = entry._next;
881
if (entries
[
i]._next >= -1)
883
dictEntryArray[index++] = new DictionaryEntry(entries
[
i]._key, entries
[
i]._value);
901
if (entries
[
i]._next >= -1)
903
objects[index++] = new KeyValuePair<TKey, TValue>(entries
[
i]._key, entries
[
i]._value);
989
var hashCode = oldEntries
[
i]._hashCode; // At this point, we know we have entries.
990
if (oldEntries
[
i]._next >= -1)
993
entry = oldEntries
[
i];
1296
if (entries
[
i]._next >= -1)
1297
array[index++] = entries
[
i]._key;
1371
if (entries
[
i]._next >= -1)
1372
objects[index++] = entries
[
i]._key;
1496
if (entries
[
i]._next >= -1)
1497
array[index++] = entries
[
i]._value;
1571
if (entries
[
i]._next >= -1)
1572
objects[index++] = entries
[
i]._value!;
SegmentedList`1.cs (16)
177
return _items
[
index];
368
list._items[i] = converter(_items
[
i]);
452
if (match(_items
[
i]))
454
return _items
[
i];
470
if (match(_items
[
i]))
472
list.Add(_items
[
i]);
504
if (match(_items
[
i]))
519
if (match(_items
[
i]))
521
return _items
[
i];
566
if (match(_items
[
i]))
589
action(_items
[
i]);
942
while (freeIndex < _size && !match(_items
[
freeIndex]))
951
while (current < _size && match(_items
[
current]))
957
_items[freeIndex++] = _items
[
current++];
1156
if (!match(_items
[
i]))
1189
_current = localList._items
[
_index];