6 writes to _tail
System.Runtime.Caching (6)
System\Runtime\Caching\CacheUsage.cs (6)
158
_freePageList.
_tail
= -1;
160
_freeEntryList.
_tail
= -1;
176
list.
_tail
= pageIndex;
198
list.
_tail
= pageIndex;
233
list.
_tail
= (_pages[(pageIndex)]._pagePrev);
396
_freePageList.
_tail
= newPages.Length - 1;
21 references to _tail
System.Runtime.Caching (21)
System\Runtime\Caching\CacheUsage.cs (21)
165
Debug.Assert((list._head == -1) == (list.
_tail
== -1), "(list._head == -1) == (list._tail == -1)");
184
Debug.Assert((list._head == -1) == (list.
_tail
== -1), "(list._head == -1) == (list._tail == -1)");
187
(_pages[(pageIndex)]._pagePrev) = list.
_tail
;
188
if (list.
_tail
!= -1)
190
Debug.Assert((_pages[(list.
_tail
)]._pageNext) == -1, "PageNext(list._tail) == -1");
191
(_pages[(list.
_tail
)]._pageNext) = pageIndex;
212
Debug.Assert((list._head == -1) == (list.
_tail
== -1), "(list._head == -1) == (list._tail == -1)");
232
Debug.Assert(list.
_tail
== pageIndex, "list._tail == pageIndex");
243
Debug.Assert(list.
_tail
!= -1, "list._tail != -1");
255
Debug.Assert(list.
_tail
!= -1, "list._tail != -1");
257
if (list.
_tail
== pageIndex)
357
Debug.Assert(_freeEntryList.
_tail
== -1, "_freeEntryList._tail == -1");
425
Debug.Assert(_freeEntryList.
_tail
!= -1, "_freeEntryList._tail != -1");
426
Debug.Assert(_freeEntryList._head != _freeEntryList.
_tail
, "_freeEntryList._head != _freeEntryList._tail");
429
int pageIndexLast = _freeEntryList.
_tail
;
455
if (_freeEntryList.
_tail
== -1)
458
entries = (_pages[(_freeEntryList.
_tail
)]._entries);
469
Debug.Assert(_freeEntryList._head != _freeEntryList.
_tail
, "_freeEntryList._head != _freeEntryList._tail");
472
Debug.Assert(newRef1.PageIndex != _freeEntryList.
_tail
, "newRef1.PageIndex != _freeEntryList._tail");
474
UsageEntryRef oldRef1 = new UsageEntryRef(_freeEntryList.
_tail
, i);
516
RemovePage(_freeEntryList.
_tail
);