23 writes to Node
PresentationFramework (23)
MS\Internal\Data\LiveShapingBlock.cs (5)
65return new RBFinger<LiveShapingItem>() { Node = this, Offset = offset, Index = baseIndex + offset, Found = true }; 114oldFinger = new RBFinger<LiveShapingItem>() { Node = this, Offset = index, Index = baseIndex + index, Found = true }; 216return new RBFinger<LiveShapingItem>() { Node = this, Offset = k, Index = index + k }; 353return new RBFinger<LiveShapingItem>() { Node = foundBlock, Offset = offset, Index = baseIndex + offset }; 434return new RBFinger<LiveShapingItem>() { Node = foundBlock, Offset = offset, Index = baseIndex + offset };
MS\Internal\Data\RBFinger.cs (2)
46finger.Node = finger.Node.GetSuccessor(); 58finger.Node = finger.Node.GetPredecessor();
MS\Internal\Data\RBNode.cs (16)
95result = new RBFinger<T>() { Node = this, Offset = 0, Index = 0, Found = false }; 103result = new RBFinger<T>() { Node = this, Offset = index - LeftSize, Index = index, Found = true }; 108result = new RBFinger<T>() { Node = this, Offset = Size, Index = LeftSize + Size, Found = false }; 126result = new RBFinger<T>() { Node = this, Offset = 0, Index = 0, Found = (compL == 0) }; 131result = new RBFinger<T>() { Node = this, Offset = 0, Index = LeftSize, Found = true }; 138result = new RBFinger<T>() { Node = this, Offset = offset, Index = LeftSize + offset, Found = found }; 143result = new RBFinger<T>() { Node = this, Offset = Size, Index = LeftSize + Size }; 180result = new RBFinger<T>() { Node = this, Offset = left, Index = left, Found = (compL == 0) }; 185result = new RBFinger<T>() { Node = this, Offset = 0, Index = LeftSize, Found = true }; 211result = new RBFinger<T>() { Node = this, Offset = right, Index = LeftSize + right, Found = false }; 224result = new RBFinger<T>() { Node = this, Offset = offset, Index = LeftSize + offset, Found = found }; 268return new RBFinger<T>() { Node = startingNode, Offset = k + 1, Index = nodeIndex + k + 1 }; 286return new RBFinger<T>() { Node = parent, Offset = offset, Index = nodeIndex + offset }; 299newFinger = new RBFinger<T>() { Node = newFinger.Node.GetSuccessor(), Offset = 0, Index = newFinger.Index }; 303return new RBFinger<T>() { Node = startingNode, Offset = 0, Index = nodeIndex }; 375finger.Node = node.GetSuccessor();
27 references to Node
PresentationFramework (27)
MS\Internal\Data\LiveShapingBlock.cs (1)
177if (newFinger.Node == this)
MS\Internal\Data\LiveShapingTree.cs (3)
53while (finger.Node != this) 93finger.Node.SetItemAt(finger.Offset, new LiveShapingItem(item, List)); 100while (finger.Node != this)
MS\Internal\Data\RBFinger.cs (9)
17public T Item { get { return Node.GetItemAt(Offset); } } 18public void SetItem(T x) { Node.SetItemAt(Offset, x); } 19public bool IsValid { get { return Node != null && Node.HasData; } } 44if (finger.Offset == finger.Node.Size) 46finger.Node = finger.Node.GetSuccessor(); 58finger.Node = finger.Node.GetPredecessor(); 59if (finger.Node != null) 60finger.Offset = finger.Node.Size - 1;
MS\Internal\Data\RBNode.cs (6)
260RBNode<T> startingNode = finger.Node; 298if (newFinger.Offset == newFinger.Node.Size) 299newFinger = new RBFinger<T>() { Node = newFinger.Node.GetSuccessor(), Offset = 0, Index = newFinger.Index }; 314RBNode<T> oldNode = oldFinger.Node, newNode = newFinger.Node; 366RBNode<T> node = finger.Node;
MS\Internal\Data\RBTree.cs (8)
91RBNode<T> node = finger.Node; 414while (finger.Node != this) 520return finger.Node.GetItemAt(finger.Offset); 526finger.Node.SetItemAt(finger.Offset, value); 609while (finger.Node != this) 611yield return finger.Node.GetItemAt(finger.Offset); 619while (finger.Node != this) 621yield return finger.Node.GetItemAt(finger.Offset);