5 references to BalanceFactor
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableList_1.Node.cs (5)
1374
private bool IsRightHeavy => this.
BalanceFactor
>= 2;
1382
private bool IsLeftHeavy => this.
BalanceFactor
<= -2;
1390
private bool IsBalanced => unchecked((uint)(this.
BalanceFactor
+ 1)) <= 2;
1407
return _left!.
BalanceFactor
> 0 ? this.DoubleRight() : this.RotateRight();
1419
return _right!.
BalanceFactor
< 0 ? this.DoubleLeft() : this.RotateLeft();