2 writes to _text
PresentationFramework (2)
System\Windows\Documents\TextTreeTextBlock.cs (2)
39_text = new char[size]; 100_text = newText;
19 references to _text
PresentationFramework (19)
System\Windows\Documents\TextTreeTextBlock.cs (19)
89if (_text.Length < MaxBlockSize && count > _gapSize) 96Array.Copy(_text, 0, newText, 0, _gapOffset); 97rightOfGapLength = _text.Length - (_gapOffset + _gapSize); 98Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength); 99_gapSize += newText.Length - _text.Length; 116textString.CopyTo(textStartIndex, _text, logicalOffset, count); 123Array.Copy(textChars, textStartIndex, _text, logicalOffset, count); 144Invariant.Assert(_text.Length == MaxBlockSize, "Splitting non-max sized block!"); 151Array.Copy(_text, 0, newBlock._text, 0, _gapOffset); 165Array.Copy(_text, _gapOffset, newBlock._text, _gapOffset, MaxBlockSize - _gapOffset); 233Invariant.Assert(_gapOffset + _gapSize <= _text.Length); 250Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount); 264copyCount = Math.Min(count, _text.Length - logicalOffset); 265Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount); 431return (_text.Length - _gapSize); 483Array.Copy(_text, sourceOffset, _text, destinationOffset, count);