2 writes to _text
PresentationFramework (2)
System\Windows\Documents\TextTreeTextBlock.cs (2)
37_text = new char[size]; 98_text = newText;
19 references to _text
PresentationFramework (19)
System\Windows\Documents\TextTreeTextBlock.cs (19)
87if (_text.Length < MaxBlockSize && count > _gapSize) 94Array.Copy(_text, 0, newText, 0, _gapOffset); 95rightOfGapLength = _text.Length - (_gapOffset + _gapSize); 96Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength); 97_gapSize += newText.Length - _text.Length; 114textString.CopyTo(textStartIndex, _text, logicalOffset, count); 121Array.Copy(textChars, textStartIndex, _text, logicalOffset, count); 142Invariant.Assert(_text.Length == MaxBlockSize, "Splitting non-max sized block!"); 149Array.Copy(_text, 0, newBlock._text, 0, _gapOffset); 163Array.Copy(_text, _gapOffset, newBlock._text, _gapOffset, MaxBlockSize - _gapOffset); 231Invariant.Assert(_gapOffset + _gapSize <= _text.Length); 248Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount); 262copyCount = Math.Min(count, _text.Length - logicalOffset); 263Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount); 429return (_text.Length - _gapSize); 481Array.Copy(_text, sourceOffset, _text, destinationOffset, count);