2 references to s_oneYear
System.Runtime.Caching (2)
System\Runtime\Caching\MemoryCache.cs (2)
235
if (policy.SlidingExpiration < ObjectCache.NoSlidingExpiration ||
s_oneYear
< policy.SlidingExpiration)
237
throw new ArgumentOutOfRangeException(nameof(policy), RH.Format(SR.Argument_out_of_range, "SlidingExpiration", ObjectCache.NoSlidingExpiration,
s_oneYear
));