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)
231
if (
_positionRefCount
> 0 && _referencedEdge == ElementEdge.BeforeStart)
423
return _referencedEdge == ElementEdge.BeforeStart ?
_positionRefCount
> 0 : false;
467
return _referencedEdge == ElementEdge.AfterEnd ?
_positionRefCount
> 0 : false;
493
Invariant.Assert(
_positionRefCount
== 0, "Inappropriate Merge call!");
499
(previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart))
520
if (previousNode.
_positionRefCount
== 0 &&
521
(nextNode.
_positionRefCount
== 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd)))
536
else if ((previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart) &&
537
nextNode.
_positionRefCount
== 0)