7 writes to _size
PresentationFramework (7)
MS\Internal\Documents\TextContainerHelper.cs (7)
34_size = 0; 53_size = other._size; 183_size = 2; 221++_size; 240++_size; 255--_size; 281_size = 0;
21 references to _size
PresentationFramework (21)
MS\Internal\Documents\TextContainerHelper.cs (21)
53_size = other._size; 54if (_size != 0) 57Invariant.Assert(other._ranges.Length >= (other._size * 2)); 58_ranges = new int[_size * 2]; 74for (int i = 0; i < other._size; i++) 101segments = new List<TextSegment>(_size); 102for (int i = 0; i < _size; i++) 134for (int i = 0; i < _size; i++) 172endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(_size - 1) * 2 + 1], LogicalDirection.Backward); 209while (i < _size) 215for (int j = _size * 2 - 1; j >= i * 2; j--) 234if (i >= _size) 238_ranges[_size * 2] = cpFirst; 239_ranges[_size * 2 + 1] = cpLast; 246if (pos < _size - 1) 251for (int i = (pos + 1) * 2; i < (_size - 1) * 2; i++) 263Invariant.Assert(_size > 0); 265if (_ranges.Length < (_size + 1) * 2) 268for (int i = 0; i < _size * 2; i++) 277if (_size == 1) 285private bool IsSimple { get { return (_size == 0); } }