9 writes to _gapSize
PresentationFramework (9)
System\Windows\Documents\TextTreeTextBlock.cs (9)
39_gapSize = size; 98_gapSize += newText.Length - _text.Length; 127_gapSize -= count; 152newBlock._gapSize = MaxBlockSize - _gapOffset; 155_gapSize += _gapOffset; 166newBlock._gapSize = _gapOffset; 169_gapSize = MaxBlockSize - _gapOffset; 213_gapSize += precedingTextToRemoveCount; 231_gapSize += count;
14 references to _gapSize
PresentationFramework (14)
System\Windows\Documents\TextTreeTextBlock.cs (14)
88if (_text.Length < MaxBlockSize && count > _gapSize) 96rightOfGapLength = _text.Length - (_gapOffset + _gapSize); 97Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength); 109count = Math.Min(count, _gapSize); 142Invariant.Assert(_gapSize == 0, "Splitting non-full block!"); 221logicalOffset += _gapSize; 224if (logicalOffset > _gapOffset + _gapSize) 227MoveGap(logicalOffset - _gapSize); 232Invariant.Assert(_gapOffset + _gapSize <= _text.Length); 260logicalOffset += _gapSize; 430return (_text.Length - _gapSize); 439return _gapSize; 472destinationOffset = offset + _gapSize; 477sourceOffset = _gapOffset + _gapSize;