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)
94
if (
_text
.Length < MaxBlockSize && count > _gapSize)
101
Array.Copy(
_text
, 0, newText, 0, _gapOffset);
102
rightOfGapLength =
_text
.Length - (_gapOffset + _gapSize);
103
Array.Copy(
_text
, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength);
104
_gapSize += newText.Length -
_text
.Length;
121
textString.CopyTo(textStartIndex,
_text
, logicalOffset, count);
128
Array.Copy(textChars, textStartIndex,
_text
, logicalOffset, count);
149
Invariant.Assert(
_text
.Length == MaxBlockSize, "Splitting non-max sized block!");
156
Array.Copy(
_text
, 0, newBlock.
_text
, 0, _gapOffset);
170
Array.Copy(
_text
, _gapOffset, newBlock.
_text
, _gapOffset, MaxBlockSize - _gapOffset);
238
Invariant.Assert(_gapOffset + _gapSize <=
_text
.Length);
255
Array.Copy(
_text
, logicalOffset, chars, charsStartIndex, copyCount);
269
copyCount = Math.Min(count,
_text
.Length - logicalOffset);
270
Array.Copy(
_text
, logicalOffset, chars, charsStartIndex, copyCount);
436
return (
_text
.Length - _gapSize);
488
Array.Copy(
_text
, sourceOffset,
_text
, destinationOffset, count);