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