4 writes to _charLength
Microsoft.NET.ProjectData.Tasks (4)
10 references to _charLength
Microsoft.NET.ProjectData.Tasks (10)
PooledCacheRender.cs (10)
56 public string GetText() => new string(this._chars, 0, this._charLength);
60 this.EnsureCapacity(this._charLength + 1);
69 this.EnsureCapacity(this._charLength + value!.Length);
70 value.CopyTo(0, this._chars, this._charLength, value.Length);
79 this.EnsureCapacity(this._charLength + count);
80 Array.Copy(buffer, index, this._chars, this._charLength, count);
116 this._charLength = NormalizeNewLinesInPlace(this._chars, this._charLength);
117 int byteCount = ProjectDataWriter.Utf8NoBom.GetByteCount(this._chars, 0, this._charLength);
119 this._byteLength = ProjectDataWriter.Utf8NoBom.GetBytes(this._chars, 0, this._charLength, this._bytes, 0);
129 Array.Copy(this._chars, 0, larger, 0, this._charLength);