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