3 writes to _positionRefCount
PresentationFramework (3)
System\Windows\Documents\TextTreeTextNode.cs (3)
127
node.
_positionRefCount
+= delta;
158
_positionRefCount
+= delta;
175
_positionRefCount
--;
13 references to _positionRefCount
PresentationFramework (13)
System\Windows\Documents\TextTreeTextNode.cs (13)
121
if (
_positionRefCount
> 0 && edge != _referencedEdge)
149
if (mergeNode != null && mergeNode.
_positionRefCount
== 0)
176
Invariant.Assert(
_positionRefCount
>= 0, "Bogus PositionRefCount! ");
179
if (
_positionRefCount
== 0)
234
if (
_positionRefCount
> 0 && _referencedEdge == ElementEdge.BeforeStart)
426
return _referencedEdge == ElementEdge.BeforeStart ?
_positionRefCount
> 0 : false;
470
return _referencedEdge == ElementEdge.AfterEnd ?
_positionRefCount
> 0 : false;
496
Invariant.Assert(
_positionRefCount
== 0, "Inappropriate Merge call!");
502
(previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart))
523
if (previousNode.
_positionRefCount
== 0 &&
524
(nextNode.
_positionRefCount
== 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd)))
539
else if ((previousNode.
_positionRefCount
== 0 || previousNode._referencedEdge == ElementEdge.BeforeStart) &&
540
nextNode.
_positionRefCount
== 0)