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