3 writes to _positionRefCount
PresentationFramework (3)
System\Windows\Documents\TextTreeTextNode.cs (3)
126
node.
_positionRefCount
+= delta;
157
_positionRefCount
+= delta;
174
_positionRefCount
--;
13 references to _positionRefCount
PresentationFramework (13)
System\Windows\Documents\TextTreeTextNode.cs (13)
120
if (
_positionRefCount
> 0 && edge != _referencedEdge)
148
if (mergeNode != null && mergeNode.
_positionRefCount
== 0)
175
Invariant.Assert(
_positionRefCount
>= 0, "Bogus PositionRefCount! ");
178
if (
_positionRefCount
== 0)
233
if (
_positionRefCount
> 0 && _referencedEdge == ElementEdge.BeforeStart)
425
return _referencedEdge == ElementEdge.BeforeStart ?
_positionRefCount
> 0 : false;
469
return _referencedEdge == ElementEdge.AfterEnd ?
_positionRefCount
> 0 : false;
495
Invariant.Assert(
_positionRefCount
== 0, "Inappropriate Merge call!");
501
(previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart))
522
if (previousNode.
_positionRefCount
== 0 &&
523
(nextNode.
_positionRefCount
== 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd)))
538
else if ((previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart) &&
539
nextNode.
_positionRefCount
== 0)