9 writes to _offset
PresentationFramework (9)
System\Windows\Documents\FlowPosition.cs (9)
45
_offset
= offset;
326
_offset
= startOffset;
350
_offset
= flow._offset;
416
flow.
_offset
= 0;
437
flow.
_offset
= flow._NodeLength;
576
_offset
= _NodeLength;
581
_offset
-= back;
605
_offset
= 0;
610
_offset
+= back;
32 references to _offset
PresentationFramework (32)
System\Windows\Documents\FlowPosition.cs (32)
62
return new FlowPosition(_container, _flowNode,
_offset
);
88
return _flowNode.GetHashCode()^
_offset
.GetHashCode();
99
return string.Create(CultureInfo.InvariantCulture, $"FP[{_flowNode}+{
_offset
}]");
136
return flow.
_offset
-
_offset
;
163
distance += (flowEnd.
_offset
- flowScan.
_offset
);
191
return flow._NodeLength - flow.
_offset
;
195
return flow.
_offset
;
212
remainingLength = runLength - flow.
_offset
;
216
remainingLength = flow.
_offset
;
229
Array.Copy(text.ToCharArray(flow.
_offset
, maxLength), 0, chars, startIndex, maxLength);
233
Array.Copy(text.ToCharArray(flow.
_offset
- maxLength, maxLength), 0, chars, startIndex, maxLength);
317
int startOffset =
_offset
;
350
_offset = flow.
_offset
;
368
offsetStart = fp.
_offset
;
381
offsetStart = flowScan.
_offset
;
394
offsetEnd = flowScan.
_offset
;
408
if (
_offset
== _NodeLength)
429
if (
_offset
== 0)
560
if (
_offset
== _NodeLength || flowNode.Type == FlowNodeType.Boundary)
573
scanned = _NodeLength -
_offset
;
587
if (
_offset
== 0 || flowNode.Type == FlowNodeType.Boundary)
602
scanned =
_offset
;
622
if (
_offset
== _NodeLength)
637
if (
_offset
== 0)
737
if (this._flowNode.Fp == flow._flowNode.Fp - 1 && this.
_offset
== _NodeLength && flow.
_offset
== 0)
746
if (flow._flowNode.Fp == this._flowNode.Fp - 1 && flow.
_offset
== flow._NodeLength && this.
_offset
== 0)
755
comp = this.
_offset
.CompareTo(flow.
_offset
);