# Microsoft.Extensions.Caching.Memory

``` diff
 namespace Microsoft.Extensions.Caching.Memory {
     public static class CacheEntryExtensions {
-        public static ICacheEntry SetValue(this ICacheEntry entry, object value);
+        public static ICacheEntry SetValue(this ICacheEntry entry, object? value);
     }
     public class MemoryCacheOptions : IOptions<MemoryCacheOptions> {
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This property is retained only for compatibility.  Remove use and instead call MemoryCache.Compact as needed.", true)]
+        public bool CompactOnMemoryPressure { get; set; }
     }
 }
```

