2 writes to _offset
Microsoft.Extensions.Primitives (2)
InplaceStringBuilder.cs (2)
106
_offset
+= count;
126
destination[
_offset
++] = c;
9 references to _offset
Microsoft.Extensions.Primitives (9)
InplaceStringBuilder.cs (9)
51
if (
_offset
> 0)
97
|| Capacity -
_offset
< count)
105
Unsafe.CopyBlockUnaligned(destination +
_offset
, source + offset, (uint)count * 2);
119
if (
_offset
>= Capacity)
121
ThrowHelper.ThrowInvalidOperationException(ExceptionResource.Capacity_NotEnough, 1, Capacity -
_offset
);
136
if (Capacity !=
_offset
)
138
ThrowHelper.ThrowInvalidOperationException(ExceptionResource.Capacity_NotUsedEntirely, Capacity,
_offset
);
161
if (Capacity -
_offset
< count)
163
ThrowHelper.ThrowInvalidOperationException(ExceptionResource.Capacity_NotEnough, value.Length, Capacity -
_offset
);