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