3 references to MEGABYTE_SHIFT
System.Runtime.Caching (3)
System\Caching\CacheMemoryMonitor.cs (2)
209
cacheMemoryLimit = cacheMemoryLimit <<
MEGABYTE_SHIFT
;
229
Dbg.Trace("MemoryCacheStats", "CacheMemoryMonitor.SetLimit: _memoryLimit=" + (_memoryLimit >>
MEGABYTE_SHIFT
) + "Mb");
System\Caching\MemoryMonitor.cs (1)
24
protected const long MEGABYTE = 1L <<
MEGABYTE_SHIFT
; // 1048576