26 writes to Offset
PresentationFramework (26)
MS\Internal\Data\LiveShapingBlock.cs (5)
57return new RBFinger<LiveShapingItem>() { Node = this, Offset = offset, Index = baseIndex + offset, Found = true }; 106oldFinger = new RBFinger<LiveShapingItem>() { Node = this, Offset = index, Index = baseIndex + index, Found = true }; 208return new RBFinger<LiveShapingItem>() { Node = this, Offset = k, Index = index + k }; 345return new RBFinger<LiveShapingItem>() { Node = foundBlock, Offset = offset, Index = baseIndex + offset }; 426return new RBFinger<LiveShapingItem>() { Node = foundBlock, Offset = offset, Index = baseIndex + offset };
MS\Internal\Data\RBFinger.cs (4)
42finger.Offset += 1; 47finger.Offset = 0; 54finger.Offset -= 1; 60finger.Offset = finger.Node.Size - 1;
MS\Internal\Data\RBNode.cs (17)
91result = new RBFinger<T>() { Node = this, Offset = 0, Index = 0, Found = false }; 99result = new RBFinger<T>() { Node = this, Offset = index - LeftSize, Index = index, Found = true }; 104result = new RBFinger<T>() { Node = this, Offset = Size, Index = LeftSize + Size, Found = false }; 122result = new RBFinger<T>() { Node = this, Offset = 0, Index = 0, Found = (compL == 0) }; 127result = new RBFinger<T>() { Node = this, Offset = 0, Index = LeftSize, Found = true }; 134result = new RBFinger<T>() { Node = this, Offset = offset, Index = LeftSize + offset, Found = found }; 139result = new RBFinger<T>() { Node = this, Offset = Size, Index = LeftSize + Size }; 176result = new RBFinger<T>() { Node = this, Offset = left, Index = left, Found = (compL == 0) }; 181result = new RBFinger<T>() { Node = this, Offset = 0, Index = LeftSize, Found = true }; 207result = new RBFinger<T>() { Node = this, Offset = right, Index = LeftSize + right, Found = false }; 220result = new RBFinger<T>() { Node = this, Offset = offset, Index = LeftSize + offset, Found = found }; 264return new RBFinger<T>() { Node = startingNode, Offset = k + 1, Index = nodeIndex + k + 1 }; 282return new RBFinger<T>() { Node = parent, Offset = offset, Index = nodeIndex + offset }; 295newFinger = new RBFinger<T>() { Node = newFinger.Node.GetSuccessor(), Offset = 0, Index = newFinger.Index }; 299return new RBFinger<T>() { Node = startingNode, Offset = 0, Index = nodeIndex }; 372finger.Offset = 0; 379finger.Offset -= 1;
20 references to Offset
PresentationFramework (20)
MS\Internal\Data\LiveShapingTree.cs (1)
91finger.Node.SetItemAt(finger.Offset, new LiveShapingItem(item, List));
MS\Internal\Data\RBFinger.cs (4)
17public T Item { get { return Node.GetItemAt(Offset); } } 18public void SetItem(T x) { Node.SetItemAt(Offset, x); } 44if (finger.Offset == finger.Node.Size) 56if (finger.Offset < 0)
MS\Internal\Data\RBNode.cs (8)
257int nodeIndex = finger.Index - finger.Offset; 258T x = startingNode.GetItemAt(finger.Offset); 261for (int k = finger.Offset - 1; k >= 0; --k) 294if (newFinger.Offset == newFinger.Node.Size) 311int oldOffset = oldFinger.Offset, newOffset = newFinger.Offset; 312T x = oldNode.GetItemAt(oldFinger.Offset); 363int offset = finger.Offset;
MS\Internal\Data\RBTree.cs (7)
96node.InsertAt(finger.Offset, x); 106successor = InsertNode(finger.Index + node.Size - finger.Offset); 108node.InsertAt(finger.Offset, x, successor, succsucc); 516return finger.Node.GetItemAt(finger.Offset); 522finger.Node.SetItemAt(finger.Offset, value); 607yield return finger.Node.GetItemAt(finger.Offset); 617yield return finger.Node.GetItemAt(finger.Offset);