6 writes to _head
System.Runtime.Caching (6)
System\Runtime\Caching\CacheUsage.cs (6)
157
_freePageList.
_head
= -1;
159
_freeEntryList.
_head
= -1;
179
list.
_head
= pageIndex;
195
list.
_head
= pageIndex;
222
list.
_head
= (_pages[(pageIndex)]._pageNext);
395
_freePageList.
_head
= oldLength;
22 references to _head
System.Runtime.Caching (22)
System\Runtime\Caching\CacheUsage.cs (22)
165
Debug.Assert((list.
_head
== -1) == (list._tail == -1), "(list._head == -1) == (list._tail == -1)");
168
(_pages[(pageIndex)]._pageNext) = list.
_head
;
169
if (list.
_head
!= -1)
171
Debug.Assert((_pages[(list.
_head
)]._pagePrev) == -1, "PagePrev(list._head) == -1");
172
(_pages[(list.
_head
)]._pagePrev) = pageIndex;
184
Debug.Assert((list.
_head
== -1) == (list._tail == -1), "(list._head == -1) == (list._tail == -1)");
203
Debug.Assert(list.
_head
!= -1, "list._head != -1");
205
int oldHead = list.
_head
;
212
Debug.Assert((list.
_head
== -1) == (list._tail == -1), "(list._head == -1) == (list._tail == -1)");
221
Debug.Assert(list.
_head
== pageIndex, "list._head == pageIndex");
242
Debug.Assert(list.
_head
!= -1, "list._head != -1");
245
if (list.
_head
== pageIndex)
254
Debug.Assert(list.
_head
!= -1, "list._head != -1");
308
Debug.Assert(_freeEntryList.
_head
>= 0, "_freeEntryList._head >= 0");
309
int pageIndex = _freeEntryList.
_head
;
356
Debug.Assert(_freeEntryList.
_head
== -1, "_freeEntryList._head == -1");
359
if (_freePageList.
_head
== -1)
424
Debug.Assert(_freeEntryList.
_head
!= -1, "_freeEntryList._head != -1");
426
Debug.Assert(_freeEntryList.
_head
!= _freeEntryList._tail, "_freeEntryList._head != _freeEntryList._tail");
430
int pageIndexCurrent = _freeEntryList.
_head
;
469
Debug.Assert(_freeEntryList.
_head
!= _freeEntryList._tail, "_freeEntryList._head != _freeEntryList._tail");
524
if (_freeEntryList.
_head
== -1)