2 writes to _cEntriesInUse
System.Runtime.Caching (2)
System\Runtime\Caching\CacheExpires.cs (2)
355
_cEntriesInUse
--;
534
_cEntriesInUse
++;
9 references to _cEntriesInUse
System.Runtime.Caching (9)
System\Runtime\Caching\CacheExpires.cs (9)
119
Debug.Assert(
_cEntriesInUse
== 0, "_cEntriesInUse == 0");
175
return
_cEntriesInUse
;
370
Debug.Assert(_cPagesInUse * NUM_ENTRIES ==
_cEntriesInUse
, "_cPagesInUse * NUM_ENTRIES == _cEntriesInUse");
387
Debug.Assert(
_cEntriesInUse
== oldLength * NUM_ENTRIES, "_cEntriesInUse == oldLength * ExpiresEntryRef.NUM_ENTRIES");
436
if (
_cEntriesInUse
>= _minEntriesInUse || _blockReduce)
477
int availableFreeEntries = (_cPagesInUse * NUM_ENTRIES) - ((entries)[0]._cFree) -
_cEntriesInUse
;
560
if (
_cEntriesInUse
== 0)
607
if (
_cEntriesInUse
== 0 || GetExpiresCount(utcNow) == 0)
630
if (
_cEntriesInUse
== 0 || GetExpiresCount(utcNow) == 0)