31 references to IsEmpty
System.Collections.Immutable (31)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
1039return root.IsEmpty ? this.Clear() : new ImmutableDictionary<TKey, TValue>(root, _comparers, adjustedCountIfDifferentRoot);
System\Collections\Immutable\ImmutableHashSet_1.cs (4)
723if (origin.Root.IsEmpty) 870if (origin.Root.IsEmpty) 918if (origin.Root.IsEmpty) 943if (origin.Root.IsEmpty)
System\Collections\Immutable\SortedInt32KeyNode.cs (24)
186if (node.IsEmpty) 218if (node.IsEmpty) 265Debug.Assert(!tree.IsEmpty); 267if (tree._right!.IsEmpty) 284Debug.Assert(!tree.IsEmpty); 286if (tree._left!.IsEmpty) 303Debug.Assert(!tree.IsEmpty); 305if (tree._right!.IsEmpty) 322Debug.Assert(!tree.IsEmpty); 324if (tree._left!.IsEmpty) 341Debug.Assert(!tree.IsEmpty); 356Debug.Assert(!tree.IsEmpty); 366Debug.Assert(!tree.IsEmpty); 378Debug.Assert(!tree.IsEmpty); 409if (this.IsEmpty) 464if (this.IsEmpty) 481if (_right.IsEmpty && _left.IsEmpty) 485else if (_right.IsEmpty && !_left.IsEmpty) 489else if (!_right.IsEmpty && _left.IsEmpty) 498while (!successor._left!.IsEmpty) 524return result.IsEmpty ? result : MakeBalanced(result);
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (2)
60if (!_root.IsEmpty) 183while (!node.IsEmpty)