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) 231if (_positionRefCount > 0 && _referencedEdge == ElementEdge.BeforeStart) 423return _referencedEdge == ElementEdge.BeforeStart ? _positionRefCount > 0 : false; 467return _referencedEdge == ElementEdge.AfterEnd ? _positionRefCount > 0 : false; 493Invariant.Assert(_positionRefCount == 0, "Inappropriate Merge call!"); 499(previousNode._positionRefCount == 0 || previousNode._referencedEdge == ElementEdge.BeforeStart)) 520if (previousNode._positionRefCount == 0 && 521(nextNode._positionRefCount == 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd))) 536else if ((previousNode._positionRefCount == 0 || previousNode._referencedEdge == ElementEdge.BeforeStart) && 537nextNode._positionRefCount == 0)