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