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