19 references to Dbg
System.Runtime.Caching (19)
System\Caching\CacheMemoryMonitor.cs (3)
151Dbg.Assert(SAMPLE_COUNT == 2); 229Dbg.Trace("MemoryCacheStats", "CacheMemoryMonitor.SetLimit: _memoryLimit=" + (_memoryLimit >> MEGABYTE_SHIFT) + "Mb"); 240Dbg.Trace("MemoryCacheStats", "CacheMemoryMonitor.SetLimit: _pressureHigh=" + _pressureHigh +
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\MemoryCache.cs (1)
114Dbg.Fail("Reason should never be CacheEntryRemovedReason.Evicted since the entry was inserted as NotRemovable.");
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\MemoryCacheKeyEqualityComparer.cs (2)
11Dbg.Assert(x != null && x is MemoryCacheKey); 12Dbg.Assert(y != null && y is MemoryCacheKey);
System\Caching\MemoryCacheStatistics.cs (1)
259Dbg.Trace("MemoryCacheStats", "Stopped CacheMemoryTimers");
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");