4 writes to _cpLast
PresentationFramework (4)
MS\Internal\Documents\TextContainerHelper.cs (4)
33_cpLast = cpLast; 51_cpLast = other._cpLast; 203_cpLast = Math.Max(_cpLast, cpLast); 280_cpLast = _ranges[1];
12 references to _cpLast
PresentationFramework (12)
MS\Internal\Documents\TextContainerHelper.cs (12)
51_cpLast = other._cpLast; 70Merge(other._cpFirst, other._cpLast); 96_textContainer.CreatePointerAtOffset(_cpLast, LogicalDirection.Backward), 119if (cpPos >= _cpFirst && cpPos <= _cpLast) 122if (strict && (_cpFirst != _cpLast)) 125cpPos == _cpLast && position.LogicalDirection == LogicalDirection.Forward) 172endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(_size - 1) * 2 + 1], LogicalDirection.Backward); 181if (cpFirst > _cpLast || cpLast < _cpFirst) 185if (cpFirst > _cpLast) 188_ranges[1] = _cpLast; 197_ranges[3] = _cpLast; 203_cpLast = Math.Max(_cpLast, cpLast);