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
;
51
if (
_size
!= 0)
54
Invariant.Assert(other._ranges.Length >= (other.
_size
* 2));
55
_ranges = new int[
_size
* 2];
71
for (int i = 0; i < other.
_size
; i++)
98
segments = new List<TextSegment>(
_size
);
99
for (int i = 0; i <
_size
; i++)
131
for (int i = 0; i <
_size
; i++)
169
endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(
_size
- 1) * 2 + 1], LogicalDirection.Backward);
206
while (i <
_size
)
212
for (int j =
_size
* 2 - 1; j >= i * 2; j--)
231
if (i >=
_size
)
235
_ranges[
_size
* 2] = cpFirst;
236
_ranges[
_size
* 2 + 1] = cpLast;
243
if (pos <
_size
- 1)
248
for (int i = (pos + 1) * 2; i < (
_size
- 1) * 2; i++)
260
Invariant.Assert(
_size
> 0);
262
if (_ranges.Length < (
_size
+ 1) * 2)
265
for (int i = 0; i <
_size
* 2; i++)
274
if (
_size
== 1)
282
private bool IsSimple { get { return (
_size
== 0); } }