5 references to NotRemovable
System.Runtime.Caching (5)
System\Runtime\Caching\MemoryCache.cs (4)
267if (policy.Priority != CacheItemPriority.Default && policy.Priority != CacheItemPriority.NotRemovable) 269throw new ArgumentOutOfRangeException(nameof(policy), RH.Format(SR.Argument_out_of_range, "Priority", CacheItemPriority.Default, CacheItemPriority.NotRemovable)); 765CacheItemPriority.NotRemovable, 784CacheItemPriority.NotRemovable,
System\Runtime\Caching\MemoryCacheEntry.cs (1)
137if (priority == CacheItemPriority.NotRemovable)