40 references to _ref1
System.Runtime.Caching (40)
System\Runtime\Caching\CacheUsage.cs (40)
312
int entryIndex = ((entries)[0].
_ref1
._next).Ref1Index;
314
((entries)[0].
_ref1
._next) = entries[entryIndex].
_ref1
._next;
318
Debug.Assert(((entries)[0].
_ref1
._next).IsInvalid, "FreeEntryHead(entries).IsInvalid");
333
entries[entryIndex].
_ref1
._prev = UsageEntryRef.INVALID;
337
entries[entryIndex].
_ref1
._next = ((entries)[0].
_ref1
._next);
338
((entries)[0].
_ref1
._next) = entryRef;
409
entries[i].
_ref1
._next = new UsageEntryRef(pageIndex, i + 1);
411
entries[entries.Length - 1].
_ref1
._next = UsageEntryRef.INVALID;
486
UsageEntryRef prev = newEntries[newRef1.Ref1Index].
_ref1
._prev;
489
UsageEntryRef next = newEntries[newRef1.Ref1Index].
_ref1
._next;
495
{ if ((prev).IsRef1) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref1Index].
_ref1
._next = (newRef1); } else if ((prev).IsRef2) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref2Index]._ref2._next = (newRef1); } else { _lastRefHead = (newRef1); } };
496
{ if ((next).IsRef1) { (_pages[((next).PageIndex)]._entries)[(next).Ref1Index].
_ref1
._prev = (newRef1); } else if ((next).IsRef2) { (_pages[((next).PageIndex)]._entries)[(next).Ref2Index]._ref2._prev = (newRef1); } else { _lastRefTail = (newRef1); } };
507
{ if ((prev).IsRef1) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref1Index].
_ref1
._next = (newRef2); } else if ((prev).IsRef2) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref2Index]._ref2._next = (newRef2); } else { _lastRefHead = (newRef2); } };
508
{ if ((next).IsRef1) { (_pages[((next).PageIndex)]._entries)[(next).Ref1Index].
_ref1
._prev = (newRef2); } else if ((next).IsRef2) { (_pages[((next).PageIndex)]._entries)[(next).Ref2Index]._ref2._prev = (newRef2); } else { _lastRefTail = (newRef2); } };
539
entries[entryIndex].
_ref1
._prev = UsageEntryRef.INVALID;
543
entries[entryIndex].
_ref1
._next = freeRef2;
549
entries[entryIndex].
_ref1
._next = _lastRefHead;
550
{ if ((_lastRefHead).IsRef1) { (_pages[((_lastRefHead).PageIndex)]._entries)[(_lastRefHead).Ref1Index].
_ref1
._prev = (freeRef1); } else if ((_lastRefHead).IsRef2) { (_pages[((_lastRefHead).PageIndex)]._entries)[(_lastRefHead).Ref2Index]._ref2._prev = (freeRef1); } else { _lastRefTail = (freeRef1); } };
565
{ if ((prev).IsRef1) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref1Index].
_ref1
._next = (freeRef2); } else if ((prev).IsRef2) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref2Index]._ref2._next = (freeRef2); } else { _lastRefHead = (freeRef2); } };
566
{ if ((next).IsRef1) { (_pages[((next).PageIndex)]._entries)[(next).Ref1Index].
_ref1
._prev = (freeRef2); } else if ((next).IsRef2) { (_pages[((next).PageIndex)]._entries)[(next).Ref2Index]._ref2._prev = (freeRef2); } else { _lastRefTail = (freeRef2); } };
587
UsageEntryRef prev = entries[entryIndex].
_ref1
._prev;
588
UsageEntryRef next = entries[entryIndex].
_ref1
._next;
590
{ if ((prev).IsRef1) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref1Index].
_ref1
._next = (next); } else if ((prev).IsRef2) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref2Index]._ref2._next = (next); } else { _lastRefHead = (next); } };
591
{ if ((next).IsRef1) { (_pages[((next).PageIndex)]._entries)[(next).Ref1Index].
_ref1
._prev = (prev); } else if ((next).IsRef2) { (_pages[((next).PageIndex)]._entries)[(next).Ref2Index]._ref2._prev = (prev); } else { _lastRefTail = (prev); } };
598
{ if ((prev).IsRef1) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref1Index].
_ref1
._next = (next); } else if ((prev).IsRef2) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref2Index]._ref2._next = (next); } else { _lastRefHead = (next); } };
599
{ if ((next).IsRef1) { (_pages[((next).PageIndex)]._entries)[(next).Ref1Index].
_ref1
._prev = (prev); } else if ((next).IsRef2) { (_pages[((next).PageIndex)]._entries)[(next).Ref2Index]._ref2._prev = (prev); } else { _lastRefTail = (prev); } };
649
{ if ((prev).IsRef1) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref1Index].
_ref1
._next = (next); } else if ((prev).IsRef2) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref2Index]._ref2._next = (next); } else { _lastRefHead = (next); } };
650
{ if ((next).IsRef1) { (_pages[((next).PageIndex)]._entries)[(next).Ref1Index].
_ref1
._prev = (prev); } else if ((next).IsRef2) { (_pages[((next).PageIndex)]._entries)[(next).Ref2Index]._ref2._prev = (prev); } else { _lastRefTail = (prev); } };
657
entries[entryIndex]._ref2 = entries[entryIndex].
_ref1
;
661
{ if ((prev).IsRef1) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref1Index].
_ref1
._next = (entryRef2); } else if ((prev).IsRef2) { (_pages[((prev).PageIndex)]._entries)[(prev).Ref2Index]._ref2._next = (entryRef2); } else { _lastRefHead = (entryRef2); } };
662
{ if ((next).IsRef1) { (_pages[((next).PageIndex)]._entries)[(next).Ref1Index].
_ref1
._prev = (entryRef2); } else if ((next).IsRef2) { (_pages[((next).PageIndex)]._entries)[(next).Ref2Index]._ref2._prev = (entryRef2); } else { _lastRefTail = (entryRef2); } };
664
entries[entryIndex].
_ref1
._prev = UsageEntryRef.INVALID;
665
entries[entryIndex].
_ref1
._next = _lastRefHead;
667
{ if ((_lastRefHead).IsRef1) { (_pages[((_lastRefHead).PageIndex)]._entries)[(_lastRefHead).Ref1Index].
_ref1
._prev = (entryRef); } else if ((_lastRefHead).IsRef2) { (_pages[((_lastRefHead).PageIndex)]._entries)[(_lastRefHead).Ref2Index]._ref2._prev = (entryRef); } else { _lastRefTail = (entryRef); } };
714
prevNext = (_pages[(prevNext.PageIndex)]._entries)[prevNext.Ref1Index].
_ref1
._prev;
738
entries[entryIndex].
_ref1
._next = inFlushHead;
771
next = entries[entryIndex].
_ref1
._next;
793
next = entries[entryIndex].
_ref1
._next;