8 writes to offset
Microsoft.AspNetCore.OutputCaching (8)
FormatterBinaryWriter.cs (8)
29
offset
= length = 0;
68
Unsafe.Add(ref root,
offset
++) = value;
95
offset
+= bytes;
115
offset
= 0;
128
length =
offset
= 0;
137
Unsafe.Add(ref root,
offset
++) = value;
185
offset
+= value.Length;
202
offset
+= toWrite;
9 references to offset
Microsoft.AspNetCore.OutputCaching (9)
FormatterBinaryWriter.cs (9)
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);
66
if (
offset
< length)
91
if (bytes <= length -
offset
)
127
target.Advance(
offset
);
182
else if ((
offset
+ value.Length) <= length)