2 writes to _cEntriesInUse
System.Runtime.Caching (2)
System\Runtime\Caching\CacheUsage.cs (2)
340
_cEntriesInUse
--;
564
_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");
364
Debug.Assert(
_cEntriesInUse
== oldLength * NUM_ENTRIES, "_cEntriesInUse == oldLength * ExpiresEntryRef.NUM_ENTRIES");
413
if (
_cEntriesInUse
>= _minEntriesInUse || _blockReduce)
452
int availableFreeEntries = (_cPagesInUse * NUM_ENTRIES) - ((entries)[0]._cFree) -
_cEntriesInUse
;
671
if (
_cEntriesInUse
== 0)
694
if (
_cEntriesInUse
== 0)
701
Debug.Assert(
_cEntriesInUse
> 0, "_cEntriesInUse > 0");