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