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)); 727CacheItemPriority.NotRemovable, 746CacheItemPriority.NotRemovable,
System\Runtime\Caching\MemoryCacheEntry.cs (1)
137if (priority == CacheItemPriority.NotRemovable)