3 writes to length
Microsoft.AspNetCore.OutputCaching (3)
FormatterBinaryWriter.cs (3)
29
offset =
length
= 0;
116
length
= span.Length;
128
length
= offset = 0;
7 references to length
Microsoft.AspNetCore.OutputCaching (7)
FormatterBinaryWriter.cs (7)
39
return MemoryMarshal.CreateSpan(ref Unsafe.Add(ref root, offset),
length
- offset);
50
Debug.Assert(
length
== 0 && offset == 0);
55
Debug.Assert(offset >= 0 && offset <=
length
);
56
Debug.Assert(
length
> 0);
66
if (offset <
length
)
91
if (bytes <=
length
- offset)
182
else if ((offset + value.Length) <=
length
)