3 writes to _positionRefCount
PresentationFramework (3)
System\Windows\Documents\TextTreeTextNode.cs (3)
126node._positionRefCount += delta; 157_positionRefCount += delta; 174_positionRefCount--;
13 references to _positionRefCount
PresentationFramework (13)
System\Windows\Documents\TextTreeTextNode.cs (13)
120if (_positionRefCount > 0 && edge != _referencedEdge) 148if (mergeNode != null && mergeNode._positionRefCount == 0) 175Invariant.Assert(_positionRefCount >= 0, "Bogus PositionRefCount! "); 178if (_positionRefCount == 0) 233if (_positionRefCount > 0 && _referencedEdge == ElementEdge.BeforeStart) 425return _referencedEdge == ElementEdge.BeforeStart ? _positionRefCount > 0 : false; 469return _referencedEdge == ElementEdge.AfterEnd ? _positionRefCount > 0 : false; 495Invariant.Assert(_positionRefCount == 0, "Inappropriate Merge call!"); 501(previousNode._positionRefCount == 0 || previousNode._referencedEdge == ElementEdge.BeforeStart)) 522if (previousNode._positionRefCount == 0 && 523(nextNode._positionRefCount == 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd))) 538else if ((previousNode._positionRefCount == 0 || previousNode._referencedEdge == ElementEdge.BeforeStart) && 539nextNode._positionRefCount == 0)