3 writes to _positionRefCount
PresentationFramework (3)
System\Windows\Documents\TextTreeTextNode.cs (3)
125
node.
_positionRefCount
+= delta;
156
_positionRefCount
+= delta;
173
_positionRefCount
--;
13 references to _positionRefCount
PresentationFramework (13)
System\Windows\Documents\TextTreeTextNode.cs (13)
119
if (
_positionRefCount
> 0 && edge != _referencedEdge)
147
if (mergeNode != null && mergeNode.
_positionRefCount
== 0)
174
Invariant.Assert(
_positionRefCount
>= 0, "Bogus PositionRefCount! ");
177
if (
_positionRefCount
== 0)
230
if (
_positionRefCount
> 0 && _referencedEdge == ElementEdge.BeforeStart)
422
return _referencedEdge == ElementEdge.BeforeStart ?
_positionRefCount
> 0 : false;
466
return _referencedEdge == ElementEdge.AfterEnd ?
_positionRefCount
> 0 : false;
492
Invariant.Assert(
_positionRefCount
== 0, "Inappropriate Merge call!");
498
(previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart))
519
if (previousNode.
_positionRefCount
== 0 &&
520
(nextNode.
_positionRefCount
== 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd)))
535
else if ((previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart) &&
536
nextNode.
_positionRefCount
== 0)