4 writes to _textLength
PresentationFramework (4)
System\Windows\Documents\Speller.cs (4)
1663_textLength = 0; 1708_textLength += runCount; 1723_textLength++; 1731_textLength++;
20 references to _textLength
PresentationFramework (20)
System\Windows\Documents\Speller.cs (20)
1675_contentStartOffset = _textLength; 1679_contentEndOffset = _textLength; 1686runCount = Math.Min(runCount, _text.Length - _textLength); 1689position.GetTextInRun(LogicalDirection.Forward, _text, _textLength, runCount); 1691for (i = _textLength; i < _textLength + runCount; i++) 1699_contentStartOffset = _textLength + position.GetOffsetToPosition(contentStart); 1704_contentEndOffset = _textLength + position.GetOffsetToPosition(contentEnd); 1721_text[_textLength] = ' '; 1722_positionMap[_textLength] = _textLength + inlineCount; 1729_text[_textLength] = '\xf8ff'; // Unicode private use. 1730_positionMap[_textLength] = _textLength + inlineCount; 1740_contentEndOffset = _textLength; 1743if (_textLength > 0) 1745_positionMap[_textLength] = _positionMap[_textLength - 1] + 1; 1759Invariant.Assert(offset >= 0 && offset <= _textLength); 1789get { return _textLength; }