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