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