2 writes to _cEntriesInUse
System.Runtime.Caching (2)
System\Runtime\Caching\CacheUsage.cs (2)
340
_cEntriesInUse
--;
572
_cEntriesInUse
++;
8 references to _cEntriesInUse
System.Runtime.Caching (8)
System\Runtime\Caching\CacheUsage.cs (8)
149
Debug.Assert(
_cEntriesInUse
== 0, "_cEntriesInUse == 0");
355
Debug.Assert(_cPagesInUse * NUM_ENTRIES ==
_cEntriesInUse
, "_cPagesInUse * NUM_ENTRIES == _cEntriesInUse");
372
Debug.Assert(
_cEntriesInUse
== oldLength * NUM_ENTRIES, "_cEntriesInUse == oldLength * ExpiresEntryRef.NUM_ENTRIES");
421
if (
_cEntriesInUse
>= _minEntriesInUse || _blockReduce)
460
int availableFreeEntries = (_cPagesInUse * NUM_ENTRIES) - ((entries)[0]._cFree) -
_cEntriesInUse
;
679
if (
_cEntriesInUse
== 0)
702
if (
_cEntriesInUse
== 0)
709
Debug.Assert(
_cEntriesInUse
> 0, "_cEntriesInUse > 0");