1 write to _buffer
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.MutableCacheItem.cs (1)
24_buffer = buffer;
7 references to _buffer
Microsoft.Extensions.Caching.Hybrid (7)
Internal\DefaultHybridCache.Debug.cs (2)
62if (_buffer.ReturnToPool) 74if (_buffer.ReturnToPool)
Internal\DefaultHybridCache.MutableCacheItem.cs (5)
17public override bool NeedsEvictionCallback => _buffer.ReturnToPool; 41value = serializer is null ? _fallbackValue! : serializer.Deserialize(_buffer.AsSequence()); 64size = _buffer.Length; 78buffer = _buffer.DoNotReturnToPool(); // not up to them! 89_buffer.RecycleIfAppropriate();