4 writes to _cpLast
PresentationFramework (4)
MS\Internal\Documents\TextContainerHelper.cs (4)
30_cpLast = cpLast; 48_cpLast = other._cpLast; 200_cpLast = Math.Max(_cpLast, cpLast); 277_cpLast = _ranges[1];
12 references to _cpLast
PresentationFramework (12)
MS\Internal\Documents\TextContainerHelper.cs (12)
48_cpLast = other._cpLast; 67Merge(other._cpFirst, other._cpLast); 93_textContainer.CreatePointerAtOffset(_cpLast, LogicalDirection.Backward), 116if (cpPos >= _cpFirst && cpPos <= _cpLast) 119if (strict && (_cpFirst != _cpLast)) 122cpPos == _cpLast && position.LogicalDirection == LogicalDirection.Forward) 169endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(_size - 1) * 2 + 1], LogicalDirection.Backward); 178if (cpFirst > _cpLast || cpLast < _cpFirst) 182if (cpFirst > _cpLast) 185_ranges[1] = _cpLast; 194_ranges[3] = _cpLast; 200_cpLast = Math.Max(_cpLast, cpLast);