4 writes to _cpLast
PresentationFramework (4)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (4)
38_cpLast = cpLast; 56_cpLast = other._cpLast; 208_cpLast = Math.Max(_cpLast, cpLast); 285_cpLast = _ranges[1];
12 references to _cpLast
PresentationFramework (12)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (12)
56_cpLast = other._cpLast; 75Merge(other._cpFirst, other._cpLast); 101_textContainer.CreatePointerAtOffset(_cpLast, LogicalDirection.Backward), 124if (cpPos >= _cpFirst && cpPos <= _cpLast) 127if (strict && (_cpFirst != _cpLast)) 130cpPos == _cpLast && position.LogicalDirection == LogicalDirection.Forward) 177endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(_size - 1) * 2 + 1], LogicalDirection.Backward); 186if (cpFirst > _cpLast || cpLast < _cpFirst) 190if (cpFirst > _cpLast) 193_ranges[1] = _cpLast; 202_ranges[3] = _cpLast; 208_cpLast = Math.Max(_cpLast, cpLast);