36 references to IsEmpty
System.Collections.Immutable (36)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (4)
84
return _root.
IsEmpty
? this : Empty.WithComparers(_keyComparer, _valueComparer);
102
get { return _root.
IsEmpty
; }
741
return root.
IsEmpty
820
return root.
IsEmpty
? this.Clear() : new ImmutableSortedDictionary<TKey, TValue>(root, adjustedCountIfDifferentRoot, _keyComparer, _valueComparer);
System\Collections\Immutable\ImmutableSortedDictionary_2.Enumerator.cs (2)
74
if (!_root.
IsEmpty
)
212
while (!node.
IsEmpty
)
System\Collections\Immutable\ImmutableSortedDictionary_2.Node.cs (30)
65
Debug.Assert(this.
IsEmpty
);
91
Debug.Assert(!this.
IsEmpty
);
299
if (match.
IsEmpty
)
320
if (match.
IsEmpty
)
351
if (match.
IsEmpty
)
375
return !this.Search(key, keyComparer).
IsEmpty
;
420
if (matchingNode.
IsEmpty
)
452
Debug.Assert(!tree.
IsEmpty
);
454
if (tree._right!.
IsEmpty
)
471
Debug.Assert(!tree.
IsEmpty
);
473
if (tree._left!.
IsEmpty
)
490
Debug.Assert(!tree.
IsEmpty
);
492
if (tree._right!.
IsEmpty
)
509
Debug.Assert(!tree.
IsEmpty
);
511
if (tree._left!.
IsEmpty
)
528
Debug.Assert(!tree.
IsEmpty
);
543
Debug.Assert(!tree.
IsEmpty
);
553
Debug.Assert(!tree.
IsEmpty
);
565
Debug.Assert(!tree.
IsEmpty
);
625
if (this.
IsEmpty
)
683
if (this.
IsEmpty
)
701
if (_right.
IsEmpty
&& _left.
IsEmpty
)
705
else if (_right.
IsEmpty
&& !_left.
IsEmpty
)
709
else if (!_right.
IsEmpty
&& _left.
IsEmpty
)
718
while (!successor._left!.
IsEmpty
)
744
return result.
IsEmpty
? result : MakeBalanced(result);
788
if (this.
IsEmpty
)