2 writes to _text
PresentationFramework (2)
src\Framework\System\Windows\Documents\TextTreeTextBlock.cs (2)
44_text = new char[size]; 105_text = newText;
19 references to _text
PresentationFramework (19)
src\Framework\System\Windows\Documents\TextTreeTextBlock.cs (19)
94if (_text.Length < MaxBlockSize && count > _gapSize) 101Array.Copy(_text, 0, newText, 0, _gapOffset); 102rightOfGapLength = _text.Length - (_gapOffset + _gapSize); 103Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength); 104_gapSize += newText.Length - _text.Length; 121textString.CopyTo(textStartIndex, _text, logicalOffset, count); 128Array.Copy(textChars, textStartIndex, _text, logicalOffset, count); 149Invariant.Assert(_text.Length == MaxBlockSize, "Splitting non-max sized block!"); 156Array.Copy(_text, 0, newBlock._text, 0, _gapOffset); 170Array.Copy(_text, _gapOffset, newBlock._text, _gapOffset, MaxBlockSize - _gapOffset); 238Invariant.Assert(_gapOffset + _gapSize <= _text.Length); 255Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount); 269copyCount = Math.Min(count, _text.Length - logicalOffset); 270Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount); 436return (_text.Length - _gapSize); 488Array.Copy(_text, sourceOffset, _text, destinationOffset, count);