9 writes to _offset
PresentationFramework (9)
System\Windows\Documents\FlowPosition.cs (9)
41
_offset
= offset;
322
_offset
= startOffset;
346
_offset
= flow._offset;
412
flow.
_offset
= 0;
433
flow.
_offset
= flow._NodeLength;
572
_offset
= _NodeLength;
577
_offset
-= back;
601
_offset
= 0;
606
_offset
+= back;
32 references to _offset
PresentationFramework (32)
System\Windows\Documents\FlowPosition.cs (32)
58
return new FlowPosition(_container, _flowNode,
_offset
);
84
return _flowNode.GetHashCode()^
_offset
.GetHashCode();
95
return string.Create(CultureInfo.InvariantCulture, $"FP[{_flowNode}+{
_offset
}]");
132
return flow.
_offset
-
_offset
;
159
distance += (flowEnd.
_offset
- flowScan.
_offset
);
187
return flow._NodeLength - flow.
_offset
;
191
return flow.
_offset
;
208
remainingLength = runLength - flow.
_offset
;
212
remainingLength = flow.
_offset
;
225
Array.Copy(text.ToCharArray(flow.
_offset
, maxLength), 0, chars, startIndex, maxLength);
229
Array.Copy(text.ToCharArray(flow.
_offset
- maxLength, maxLength), 0, chars, startIndex, maxLength);
313
int startOffset =
_offset
;
346
_offset = flow.
_offset
;
364
offsetStart = fp.
_offset
;
377
offsetStart = flowScan.
_offset
;
390
offsetEnd = flowScan.
_offset
;
404
if (
_offset
== _NodeLength)
425
if (
_offset
== 0)
556
if (
_offset
== _NodeLength || flowNode.Type == FlowNodeType.Boundary)
569
scanned = _NodeLength -
_offset
;
583
if (
_offset
== 0 || flowNode.Type == FlowNodeType.Boundary)
598
scanned =
_offset
;
618
if (
_offset
== _NodeLength)
633
if (
_offset
== 0)
733
if (this._flowNode.Fp == flow._flowNode.Fp - 1 && this.
_offset
== _NodeLength && flow.
_offset
== 0)
742
if (flow._flowNode.Fp == this._flowNode.Fp - 1 && flow.
_offset
== flow._NodeLength && this.
_offset
== 0)
751
comp = this.
_offset
.CompareTo(flow.
_offset
);