26 writes to Offset
PresentationFramework (26)
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 (4)
42finger.Offset += 1; 47finger.Offset = 0; 54finger.Offset -= 1; 60finger.Offset = finger.Node.Size - 1;
MS\Internal\Data\RBNode.cs (17)
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 }; 376finger.Offset = 0; 383finger.Offset -= 1;
20 references to Offset
PresentationFramework (20)
MS\Internal\Data\LiveShapingTree.cs (1)
93finger.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)
261int nodeIndex = finger.Index - finger.Offset; 262T x = startingNode.GetItemAt(finger.Offset); 265for (int k = finger.Offset - 1; k >= 0; --k) 298if (newFinger.Offset == newFinger.Node.Size) 315int oldOffset = oldFinger.Offset, newOffset = newFinger.Offset; 316T x = oldNode.GetItemAt(oldFinger.Offset); 367int offset = finger.Offset;
MS\Internal\Data\RBTree.cs (7)
100node.InsertAt(finger.Offset, x); 110successor = InsertNode(finger.Index + node.Size - finger.Offset); 112node.InsertAt(finger.Offset, x, successor, succsucc); 520return finger.Node.GetItemAt(finger.Offset); 526finger.Node.SetItemAt(finger.Offset, value); 611yield return finger.Node.GetItemAt(finger.Offset); 621yield return finger.Node.GetItemAt(finger.Offset);