2 writes to _offset
Microsoft.Extensions.Primitives (2)
InplaceStringBuilder.cs (2)
98
_offset
+= count;
118
destination[
_offset
++] = c;
8 references to _offset
Microsoft.Extensions.Primitives (8)
InplaceStringBuilder.cs (8)
45
if (
_offset
> 0)
89
if (Capacity -
_offset
< count)
91
throw new InvalidOperationException(SR.Format(SR.Capacity_NotEnough, count, Capacity -
_offset
));
97
Unsafe.CopyBlockUnaligned(destination +
_offset
, source + offset, (uint)count * 2);
111
if (
_offset
>= Capacity)
113
throw new InvalidOperationException(SR.Format(SR.Capacity_NotEnough, 1, Capacity -
_offset
));
128
if (Capacity !=
_offset
)
130
throw new InvalidOperationException(SR.Format(SR.Capacity_NotUsedEntirely, Capacity,
_offset
));