3 writes to _positionRefCount
PresentationFramework (3)
src\Framework\System\Windows\Documents\TextTreeTextNode.cs (3)
132
node.
_positionRefCount
+= delta;
163
_positionRefCount
+= delta;
180
_positionRefCount
--;
13 references to _positionRefCount
PresentationFramework (13)
src\Framework\System\Windows\Documents\TextTreeTextNode.cs (13)
126
if (
_positionRefCount
> 0 && edge != _referencedEdge)
154
if (mergeNode != null && mergeNode.
_positionRefCount
== 0)
181
Invariant.Assert(
_positionRefCount
>= 0, "Bogus PositionRefCount! ");
184
if (
_positionRefCount
== 0)
237
if (
_positionRefCount
> 0 && _referencedEdge == ElementEdge.BeforeStart)
429
return _referencedEdge == ElementEdge.BeforeStart ?
_positionRefCount
> 0 : false;
473
return _referencedEdge == ElementEdge.AfterEnd ?
_positionRefCount
> 0 : false;
499
Invariant.Assert(
_positionRefCount
== 0, "Inappropriate Merge call!");
505
(previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart))
526
if (previousNode.
_positionRefCount
== 0 &&
527
(nextNode.
_positionRefCount
== 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd)))
542
else if ((previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart) &&
543
nextNode.
_positionRefCount
== 0)