3 references to new
Microsoft.Extensions.Caching.Hybrid (3)
Internal\DefaultHybridCache.L2.cs (2)
51? new(writer.DetachCommitted(out var length), length, returnToPool: true) 68? new(writer.DetachCommitted(out var length), length, returnToPool: true)
Internal\DefaultHybridCache.Serialization.cs (1)
70buffer = new(writer.DetachCommitted(out var length), length, returnToPool: true); // remove buffer ownership from the writer