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