2 writes to _text
PresentationFramework (2)
System\Windows\Documents\TextTreeTextBlock.cs (2)
38_text = new char[size]; 99_text = newText;
19 references to _text
PresentationFramework (19)
System\Windows\Documents\TextTreeTextBlock.cs (19)
88if (_text.Length < MaxBlockSize && count > _gapSize) 95Array.Copy(_text, 0, newText, 0, _gapOffset); 96rightOfGapLength = _text.Length - (_gapOffset + _gapSize); 97Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength); 98_gapSize += newText.Length - _text.Length; 115textString.CopyTo(textStartIndex, _text, logicalOffset, count); 122Array.Copy(textChars, textStartIndex, _text, logicalOffset, count); 143Invariant.Assert(_text.Length == MaxBlockSize, "Splitting non-max sized block!"); 150Array.Copy(_text, 0, newBlock._text, 0, _gapOffset); 164Array.Copy(_text, _gapOffset, newBlock._text, _gapOffset, MaxBlockSize - _gapOffset); 232Invariant.Assert(_gapOffset + _gapSize <= _text.Length); 249Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount); 263copyCount = Math.Min(count, _text.Length - logicalOffset); 264Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount); 430return (_text.Length - _gapSize); 482Array.Copy(_text, sourceOffset, _text, destinationOffset, count);