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)
149Debug.Assert(_cEntriesInUse == 0, "_cEntriesInUse == 0"); 355Debug.Assert(_cPagesInUse * NUM_ENTRIES == _cEntriesInUse, "_cPagesInUse * NUM_ENTRIES == _cEntriesInUse"); 372Debug.Assert(_cEntriesInUse == oldLength * NUM_ENTRIES, "_cEntriesInUse == oldLength * ExpiresEntryRef.NUM_ENTRIES"); 421if (_cEntriesInUse >= _minEntriesInUse || _blockReduce) 460int availableFreeEntries = (_cPagesInUse * NUM_ENTRIES) - ((entries)[0]._cFree) - _cEntriesInUse; 679if (_cEntriesInUse == 0) 702if (_cEntriesInUse == 0) 709Debug.Assert(_cEntriesInUse > 0, "_cEntriesInUse > 0");