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)
62
if (
_buffer
.ReturnToPool)
74
if (
_buffer
.ReturnToPool)
Internal\DefaultHybridCache.MutableCacheItem.cs (5)
17
public override bool NeedsEvictionCallback =>
_buffer
.ReturnToPool;
41
value = serializer is null ? _fallbackValue! : serializer.Deserialize(
_buffer
.AsSequence());
64
size =
_buffer
.Length;
78
buffer =
_buffer
.DoNotReturnToPool(); // not up to them!
89
_buffer
.RecycleIfAppropriate();