7 writes to _size
PresentationFramework (7)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (7)
39
_size
= 0;
58
_size
= other._size;
188
_size
= 2;
226
++
_size
;
245
++
_size
;
260
--
_size
;
286
_size
= 0;
21 references to _size
PresentationFramework (21)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (21)
58
_size = other.
_size
;
59
if (
_size
!= 0)
62
Invariant.Assert(other._ranges.Length >= (other.
_size
* 2));
63
_ranges = new int[
_size
* 2];
79
for (int i = 0; i < other.
_size
; i++)
106
segments = new List<TextSegment>(
_size
);
107
for (int i = 0; i <
_size
; i++)
139
for (int i = 0; i <
_size
; i++)
177
endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(
_size
- 1) * 2 + 1], LogicalDirection.Backward);
214
while (i <
_size
)
220
for (int j =
_size
* 2 - 1; j >= i * 2; j--)
239
if (i >=
_size
)
243
_ranges[
_size
* 2] = cpFirst;
244
_ranges[
_size
* 2 + 1] = cpLast;
251
if (pos <
_size
- 1)
256
for (int i = (pos + 1) * 2; i < (
_size
- 1) * 2; i++)
268
Invariant.Assert(
_size
> 0);
270
if (_ranges.Length < (
_size
+ 1) * 2)
273
for (int i = 0; i <
_size
* 2; i++)
282
if (
_size
== 1)
290
private bool IsSimple { get { return (
_size
== 0); } }