2 writes to _cPagesInUse
System.Runtime.Caching (2)
System\Runtime\Caching\CacheUsage.cs (2)
295
_cPagesInUse
--;
415
_cPagesInUse
++;
8 references to _cPagesInUse
System.Runtime.Caching (8)
System\Runtime\Caching\CacheUsage.cs (8)
148
Debug.Assert(
_cPagesInUse
== 0, "_cPagesInUse == 0");
266
if (
_cPagesInUse
<= 1)
272
int capacity =
_cPagesInUse
* NUM_ENTRIES;
278
if ((_minEntriesInUse - 1) > ((
_cPagesInUse
- 1) * NUM_ENTRIES))
296
if (
_cPagesInUse
== 0)
355
Debug.Assert(
_cPagesInUse
* NUM_ENTRIES == _cEntriesInUse, "_cPagesInUse * NUM_ENTRIES == _cEntriesInUse");
371
Debug.Assert(
_cPagesInUse
== oldLength, "_cPagesInUse == oldLength");
460
int availableFreeEntries = (
_cPagesInUse
* NUM_ENTRIES) - ((entries)[0]._cFree) - _cEntriesInUse;