12 references to Assert
System.Runtime.Caching (12)
System\Caching\ChangeMonitor.cs (3)
136Dbg.Assert(_flags[INITIALIZED], "It is critical that INITIALIZED is set before CHANGED is checked below"); 151Dbg.Assert(_flags[CHANGED], "It is critical that CHANGED is set before INITIALIZED is checked below."); 197Dbg.Assert(_flags[CHANGED], "It is critical that CHANGED is set before INITIALIZED is checked below.");
System\Caching\MemoryCacheEntry.cs (1)
215Dbg.Assert(_fields._dependents == null, "_fields._dependents == null");
System\Caching\MemoryCacheEntryChangeMonitor.cs (1)
116Dbg.Assert(keys != null && keys.Count > 0, "keys != null && keys.Count > 0");
System\Caching\MemoryCacheStore.cs (3)
91Dbg.Assert(entry.State == EntryState.RemovingFromCache, "entry.State = EntryState.RemovingFromCache"); 235Dbg.Assert(_useInsertBlock == false, "_useInsertBlock == false"); 316Dbg.Assert(percent <= 100, "percent <= 100");
System\Caching\MemoryMonitor.cs (3)
67Dbg.Assert(_pressureHigh > 0, "_pressureHigh > 0"); 68Dbg.Assert(_pressureLow > 0, "_pressureLow > 0"); 69Dbg.Assert(_pressureLow <= _pressureHigh, "_pressureLow <= _pressureHigh");
System\Caching\PhysicalMemoryMonitor.cs (1)
81Dbg.Assert(memory != 0, "memory != 0");