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