23 references to Entry
Microsoft.CodeAnalysis (23)
src\Dependencies\Collections\SegmentedHashSet`1.cs (23)
54private SegmentedArray<Entry> _entries; 166_entries = (SegmentedArray<Entry>)source._entries.Clone(); 179ref var entry = ref entries[i]; 239ref var entry = ref entries[i]; 261ref var entry = ref entries[i]; 311ref var entry = ref entries[i]; 822ref var entry = ref entries[i]; 843ref var entry = ref entries[i]; 912ref var entry = ref entries[i]; 924private static SegmentedArray<Entry> CreateNewSegmentedArrayReusingOldSegments(SegmentedArray<Entry> oldArray, int newSize) 929var newSegmentCount = (newSize + SegmentedArrayHelper.GetSegmentSize<Entry>() - 1) >> SegmentedArrayHelper.GetSegmentShift<Entry>(); 937Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 940var lastSegmentSize = newSize - ((newSegmentCount - 1) << SegmentedArrayHelper.GetSegmentShift<Entry>()); 972ref var entry = ref entries[count]; 1000var entries = new SegmentedArray<Entry>(size); 1043ref var entry = ref entries[i]; 1067ref var entry = ref entries[i]; 1106ref var entry = ref entries[index]; 1150ref var entry = ref entries[i]; 1196ref var entry = ref _entries[i]; 1412ref var entry = ref _hashSet._entries[_index++];