5 references to NotRemovable
System.Runtime.Caching (5)
System\Runtime\Caching\MemoryCache.cs (4)
244if (policy.Priority != CacheItemPriority.Default && policy.Priority != CacheItemPriority.NotRemovable) 246throw new ArgumentOutOfRangeException(nameof(policy), RH.Format(SR.Argument_out_of_range, "Priority", CacheItemPriority.Default, CacheItemPriority.NotRemovable)); 697CacheItemPriority.NotRemovable, 716CacheItemPriority.NotRemovable,
System\Runtime\Caching\MemoryCacheEntry.cs (1)
134if (priority == CacheItemPriority.NotRemovable)