37 references to IsEmpty
System.Collections.Immutable (37)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
471if (!searchResult.IsEmpty)
System\Collections\Immutable\ImmutableSortedSet_1.cs (5)
81return _root.IsEmpty ? this : Empty.WithComparer(_comparer); 109get { return _root.IsEmpty; } 207if (searchResult.IsEmpty) 1027return root.IsEmpty 1091return root.IsEmpty ? this.Clear() : new ImmutableSortedSet<T>(root, _comparer);
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (1)
217while (!node.IsEmpty)
System\Collections\Immutable\ImmutableSortedSet_1.Node.cs (30)
70Debug.Assert(this.IsEmpty); 159if (this.IsEmpty) 165while (!n._right!.IsEmpty) 182if (this.IsEmpty) 188while (!n._left!.IsEmpty) 343if (this.IsEmpty) 389if (this.IsEmpty) 407if (_right.IsEmpty && _left.IsEmpty) 411else if (_right.IsEmpty && !_left.IsEmpty) 415else if (!_right.IsEmpty && _left.IsEmpty) 424while (!successor._left!.IsEmpty) 450return result.IsEmpty ? result : MakeBalanced(result); 465return !this.Search(key, comparer).IsEmpty; 493if (this.IsEmpty) 525if (this.IsEmpty) 584Debug.Assert(!tree.IsEmpty); 586if (tree._right!.IsEmpty) 603Debug.Assert(!tree.IsEmpty); 605if (tree._left!.IsEmpty) 622Debug.Assert(!tree.IsEmpty); 624if (tree._right!.IsEmpty) 641Debug.Assert(!tree.IsEmpty); 643if (tree._left!.IsEmpty) 660Debug.Assert(!tree.IsEmpty); 675Debug.Assert(!tree.IsEmpty); 685Debug.Assert(!tree.IsEmpty); 697Debug.Assert(!tree.IsEmpty);