9 writes to _lastRefHead
System.Runtime.Caching (9)
System\Runtime\Caching\CacheUsage.cs (9)
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); } };
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); } };
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); } };
569
_lastRefHead
= freeRef1;
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); } };
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); } };
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); } };
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); } };
668
_lastRefHead
= entryRef;
16 references to _lastRefHead
System.Runtime.Caching (16)
System\Runtime\Caching\CacheUsage.cs (16)
151
Debug.Assert(
_lastRefHead
.IsInvalid, "_lastRefHead.IsInvalid");
541
if (
_lastRefHead
.IsInvalid)
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); } };
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); } };