23 writes to Node
PresentationFramework (23)
src\Framework\MS\Internal\Data\LiveShapingBlock.cs (5)
68
return new RBFinger<LiveShapingItem>() {
Node
=this, Offset=offset, Index=baseIndex+offset, Found=true };
117
oldFinger = new RBFinger<LiveShapingItem>() {
Node
=this, Offset=index, Index=baseIndex+index, Found=true };
219
return new RBFinger<LiveShapingItem>() {
Node
= this, Offset = k, Index = index+k };
356
return new RBFinger<LiveShapingItem>() {
Node
=foundBlock, Offset=offset, Index=baseIndex+offset };
437
return new RBFinger<LiveShapingItem>() {
Node
=foundBlock, Offset=offset, Index=baseIndex+offset };
src\Framework\MS\Internal\Data\RBFinger.cs (2)
49
finger.
Node
= finger.Node.GetSuccessor();
61
finger.
Node
= finger.Node.GetPredecessor();
src\Framework\MS\Internal\Data\RBNode.cs (16)
98
result = new RBFinger<T>() {
Node
= this, Offset = 0, Index = 0, Found = false };
106
result = new RBFinger<T>() {
Node
= this, Offset = index - LeftSize, Index = index, Found = true };
111
result = new RBFinger<T>() {
Node
= this, Offset = Size, Index = LeftSize + Size, Found = false };
129
result = new RBFinger<T>() {
Node
= this, Offset = 0, Index = 0, Found = (compL == 0) };
134
result = new RBFinger<T>() {
Node
= this, Offset = 0, Index = LeftSize, Found = true };
141
result = new RBFinger<T>() {
Node
= this, Offset = offset, Index = LeftSize + offset, Found = found };
146
result = new RBFinger<T>() {
Node
= this, Offset = Size, Index = LeftSize + Size };
183
result = new RBFinger<T>() {
Node
= this, Offset = left, Index = left, Found = (compL == 0) };
188
result = new RBFinger<T>() {
Node
= this, Offset = 0, Index = LeftSize, Found = true };
214
result = new RBFinger<T>() {
Node
= this, Offset = right, Index = LeftSize + right, Found = false };
227
result = new RBFinger<T>() {
Node
= this, Offset = offset, Index = LeftSize + offset, Found = found };
271
return new RBFinger<T>() {
Node
= startingNode, Offset = k + 1, Index = nodeIndex + k + 1 };
289
return new RBFinger<T>() {
Node
= parent, Offset = offset, Index = nodeIndex + offset };
302
newFinger = new RBFinger<T>() {
Node
= newFinger.Node.GetSuccessor(), Offset = 0, Index = newFinger.Index };
306
return new RBFinger<T>() {
Node
= startingNode, Offset = 0, Index = nodeIndex };
378
finger.
Node
= node.GetSuccessor();
27 references to Node
PresentationFramework (27)
src\Framework\MS\Internal\Data\LiveShapingBlock.cs (1)
180
if (newFinger.
Node
== this)
src\Framework\MS\Internal\Data\LiveShapingTree.cs (3)
56
while (finger.
Node
!= this)
96
finger.
Node
.SetItemAt(finger.Offset, new LiveShapingItem(item, List));
103
while (finger.
Node
!= this)
src\Framework\MS\Internal\Data\RBFinger.cs (9)
20
public T Item { get { return
Node
.GetItemAt(Offset); } }
21
public void SetItem(T x) {
Node
.SetItemAt(Offset, x); }
22
public bool IsValid { get { return
Node
!= null &&
Node
.HasData; } }
47
if (finger.Offset == finger.
Node
.Size)
49
finger.Node = finger.
Node
.GetSuccessor();
61
finger.Node = finger.
Node
.GetPredecessor();
62
if (finger.
Node
!= null)
63
finger.Offset = finger.
Node
.Size - 1;
src\Framework\MS\Internal\Data\RBNode.cs (6)
263
RBNode<T> startingNode = finger.
Node
;
301
if (newFinger.Offset == newFinger.
Node
.Size)
302
newFinger = new RBFinger<T>() { Node = newFinger.
Node
.GetSuccessor(), Offset = 0, Index = newFinger.Index };
317
RBNode<T> oldNode = oldFinger.
Node
, newNode = newFinger.
Node
;
369
RBNode<T> node = finger.
Node
;
src\Framework\MS\Internal\Data\RBTree.cs (8)
94
RBNode<T> node = finger.
Node
;
420
while (finger.
Node
!= this)
526
return finger.
Node
.GetItemAt(finger.Offset);
532
finger.
Node
.SetItemAt(finger.Offset, value);
617
while (finger.
Node
!= this)
619
yield return finger.
Node
.GetItemAt(finger.Offset);
627
while (finger.
Node
!= this)
629
yield return finger.
Node
.GetItemAt(finger.Offset);