2 writes to Body
Microsoft.AspNetCore.OutputCaching (2)
OutputCacheEntry.cs (2)
68Body = value; 77Body = RecyclableReadOnlySequenceSegment.CreateSequence(segments);
11 references to Body
Microsoft.AspNetCore.OutputCaching (5)
CacheEntryHelpers.cs (1)
29size += cachedResponse.Body.Length;
OutputCacheEntry.cs (2)
116headers.ContentLength = Body.Length; 125=> RecyclableReadOnlySequenceSegment.CopyToAsync(Body, destination, cancellationToken);
OutputCacheEntryFormatter.cs (1)
166var body = entry.Body;
OutputCacheMiddleware.cs (1)
310var body = context.CachedResponse.Body;
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (2)
EndToEndBenchmarks.cs (2)
192var body = value.Body; 208value.Body.CopyTo(oversized);
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheEntryFormatterTests.cs (4)
170Assert.Equal(expected.Body.Length, actual.Body.Length); 171Assert.True(SequenceEqual(expected.Body, actual.Body));