25 writes to Index
PresentationFramework (25)
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 (2)
43finger.Index += 1; 55finger.Index -= 1;
MS\Internal\Data\RBNode.cs (18)
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 }; 108result.Index += LeftSize + Size; 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 }; 143result.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 }; 212result.Index += delta; 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 };
21 references to Index
PresentationFramework (21)
MS\Internal\Data\LiveShapingList.cs (2)
233return finger.Found ? finger.Index : ~finger.Index;
MS\Internal\Data\LiveShapingTree.cs (7)
61oldIndex = finger.Index; 62newIndex = fingerL.Index; 82oldIndex = oldFinger.Index; 83newIndex = newFinger.Index; 110return finger.Found ? finger.Index : -1; 127if (finger.Index > 0) 136if (finger.Index < Count-1)
MS\Internal\Data\RBFinger.cs (6)
37return f1.Index - f2.Index; 67return (f1.Index < f2.Index); 72return (f1.Index > f2.Index);
MS\Internal\Data\RBNode.cs (2)
257int nodeIndex = finger.Index - finger.Offset; 295newFinger = new RBFinger<T>() { Node = newFinger.Node.GetSuccessor(), Offset = 0, Index = newFinger.Index };
MS\Internal\Data\RBTree.cs (4)
106successor = InsertNode(finger.Index + node.Size - finger.Offset); 217RBFinger<T> mid = FindIndex((low.Index + high.Index) / 2); 465return finger.Found ? finger.Index : -1;