7 writes to _size
PresentationFramework (7)
MS\Internal\Documents\TextContainerHelper.cs (7)
30
_size
= 0;
49
_size
= other._size;
179
_size
= 2;
217
++
_size
;
236
++
_size
;
251
--
_size
;
277
_size
= 0;
21 references to _size
PresentationFramework (21)
MS\Internal\Documents\TextContainerHelper.cs (21)
49
_size = other.
_size
;
50
if (
_size
!= 0)
53
Invariant.Assert(other._ranges.Length >= (other.
_size
* 2));
54
_ranges = new int[
_size
* 2];
70
for (int i = 0; i < other.
_size
; i++)
97
segments = new List<TextSegment>(
_size
);
98
for (int i = 0; i <
_size
; i++)
130
for (int i = 0; i <
_size
; i++)
168
endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(
_size
- 1) * 2 + 1], LogicalDirection.Backward);
205
while (i <
_size
)
211
for (int j =
_size
* 2 - 1; j >= i * 2; j--)
230
if (i >=
_size
)
234
_ranges[
_size
* 2] = cpFirst;
235
_ranges[
_size
* 2 + 1] = cpLast;
242
if (pos <
_size
- 1)
247
for (int i = (pos + 1) * 2; i < (
_size
- 1) * 2; i++)
259
Invariant.Assert(
_size
> 0);
261
if (_ranges.Length < (
_size
+ 1) * 2)
264
for (int i = 0; i <
_size
* 2; i++)
273
if (
_size
== 1)
281
private bool IsSimple { get { return (
_size
== 0); } }