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
;
54
if (
_size
!= 0)
57
Invariant.Assert(other._ranges.Length >= (other.
_size
* 2));
58
_ranges = new int[
_size
* 2];
74
for (int i = 0; i < other.
_size
; i++)
101
segments = new List<TextSegment>(
_size
);
102
for (int i = 0; i <
_size
; i++)
134
for (int i = 0; i <
_size
; i++)
172
endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(
_size
- 1) * 2 + 1], LogicalDirection.Backward);
209
while (i <
_size
)
215
for (int j =
_size
* 2 - 1; j >= i * 2; j--)
234
if (i >=
_size
)
238
_ranges[
_size
* 2] = cpFirst;
239
_ranges[
_size
* 2 + 1] = cpLast;
246
if (pos <
_size
- 1)
251
for (int i = (pos + 1) * 2; i < (
_size
- 1) * 2; i++)
263
Invariant.Assert(
_size
> 0);
265
if (_ranges.Length < (
_size
+ 1) * 2)
268
for (int i = 0; i <
_size
* 2; i++)
277
if (
_size
== 1)
285
private bool IsSimple { get { return (
_size
== 0); } }