3 writes to _entries
Microsoft.CodeAnalysis.Workspaces (3)
SegmentedHashSet`1.cs (3)
151
_entries
= (SegmentedArray<Entry>)source._entries.Clone();
903
_entries
= entries;
965
_entries
= entries;
25 references to _entries
Microsoft.CodeAnalysis.Workspaces (25)
SegmentedHashSet`1.cs (25)
114
if (_count > 0 &&
_entries
.Length / _count > ShrinkThreshold)
151
_entries = (SegmentedArray<Entry>)source.
_entries
.Clone();
161
var entries = source.
_entries
;
188
Debug.Assert(
_entries
.Length > 0, "_entries should be non-empty");
194
SegmentedArray.Clear(
_entries
, 0, count);
203
/// <summary>Gets the index of the item in <see cref="
_entries
"/>, or -1 if it's not in the set.</summary>
209
var entries =
_entries
;
289
/// <summary>Gets a reference to the specified hashcode's bucket, containing an index into <see cref="
_entries
"/>.</summary>
301
var entries =
_entries
;
398
actualValue =
_entries
[index]._value;
801
var entries =
_entries
;
821
var entries =
_entries
;
861
var currentCapacity =
_entries
.Length;
881
Debug.Assert(
_entries
.Length > 0, "_entries should be non-empty");
882
Debug.Assert(newSize >=
_entries
.Length);
887
SegmentedArray.Copy(
_entries
, entries, count);
915
var oldEntries =
_entries
;
925
var entries =
_entries
;
973
/// <param name="location">The index into <see cref="
_entries
"/> of the element.</param>
983
var entries =
_entries
;
1084
entries =
_entries
;
1147
var entries =
_entries
;
1196
ref var entry = ref
_entries
[i];
1284
Remove(
_entries
[i]._value);
1412
ref var entry = ref _hashSet.
_entries
[_index++];