7 writes to _size
PresentationFramework (7)
MS\Internal\Documents\TextContainerHelper.cs (7)
31_size = 0; 50_size = other._size; 180_size = 2; 218++_size; 237++_size; 252--_size; 278_size = 0;
21 references to _size
PresentationFramework (21)
MS\Internal\Documents\TextContainerHelper.cs (21)
50_size = other._size; 51if (_size != 0) 54Invariant.Assert(other._ranges.Length >= (other._size * 2)); 55_ranges = new int[_size * 2]; 71for (int i = 0; i < other._size; i++) 98segments = new List<TextSegment>(_size); 99for (int i = 0; i < _size; i++) 131for (int i = 0; i < _size; i++) 169endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(_size - 1) * 2 + 1], LogicalDirection.Backward); 206while (i < _size) 212for (int j = _size * 2 - 1; j >= i * 2; j--) 231if (i >= _size) 235_ranges[_size * 2] = cpFirst; 236_ranges[_size * 2 + 1] = cpLast; 243if (pos < _size - 1) 248for (int i = (pos + 1) * 2; i < (_size - 1) * 2; i++) 260Invariant.Assert(_size > 0); 262if (_ranges.Length < (_size + 1) * 2) 265for (int i = 0; i < _size * 2; i++) 274if (_size == 1) 282private bool IsSimple { get { return (_size == 0); } }