6 writes to _head
System.Runtime.Caching (6)
System\Runtime\Caching\CacheExpires.cs (6)
124
_freePageList.
_head
= -1;
126
_freeEntryList.
_head
= -1;
196
list.
_head
= pageIndex;
212
list.
_head
= pageIndex;
239
list.
_head
= (_pages[(pageIndex)]._pageNext);
410
_freePageList.
_head
= oldLength;
22 references to _head
System.Runtime.Caching (22)
System\Runtime\Caching\CacheExpires.cs (22)
182
Debug.Assert((list.
_head
== -1) == (list._tail == -1), "(list._head == -1) == (list._tail == -1)");
185
(_pages[(pageIndex)]._pageNext) = list.
_head
;
186
if (list.
_head
!= -1)
188
Debug.Assert((_pages[(list.
_head
)]._pagePrev) == -1, "PagePrev(list._head) == -1");
189
(_pages[(list.
_head
)]._pagePrev) = pageIndex;
201
Debug.Assert((list.
_head
== -1) == (list._tail == -1), "(list._head == -1) == (list._tail == -1)");
220
Debug.Assert(list.
_head
!= -1, "list._head != -1");
222
int oldHead = list.
_head
;
229
Debug.Assert((list.
_head
== -1) == (list._tail == -1), "(list._head == -1) == (list._tail == -1)");
238
Debug.Assert(list.
_head
== pageIndex, "list._head == pageIndex");
259
Debug.Assert(list.
_head
!= -1, "list._head != -1");
262
if (list.
_head
== pageIndex)
272
Debug.Assert(list.
_head
!= -1, "list._head != -1");
328
Debug.Assert(_freeEntryList.
_head
>= 0, "_freeEntryList._head >= 0");
329
int pageIndex = _freeEntryList.
_head
;
371
Debug.Assert(_freeEntryList.
_head
== -1, "_freeEntryList._head == -1");
374
if (_freePageList.
_head
== -1)
439
Debug.Assert(_freeEntryList.
_head
!= -1, "_freeEntryList._head != -1");
441
Debug.Assert(_freeEntryList.
_head
!= _freeEntryList._tail, "_freeEntryList._head != _freeEntryList._tail");
445
int pageIndexCurrent = _freeEntryList.
_head
;
486
Debug.Assert(_freeEntryList.
_head
!= _freeEntryList._tail, "_freeEntryList._head != _freeEntryList._tail");
516
if (_freeEntryList.
_head
== -1)