Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SymmetricExceptWith()

void System.Collections.Generic.SortedSet< T >.SymmetricExceptWith ( IEnumerable< T > other)
inlineinherited

Implements System.Collections.Generic.ISet< T >.

Definition at line 1568 of file SortedSet.cs.

1569 {
1570 if (other == null)
1571 {
1572 throw new ArgumentNullException("other");
1573 }
1574 if (Count == 0)
1575 {
1577 return;
1578 }
1579 if (other == this)
1580 {
1581 Clear();
1582 return;
1583 }
1585 {
1587 return;
1588 }
1589 int length;
1591 Array.Sort(array, 0, length, Comparer);
1593 }
void SymmetricExceptWithSameComparer(SortedSet< T > other)
void UnionWith(IEnumerable< T > other)
bool HasEqualComparer(SortedSet< T > other)

References System.array, System.Collections.Generic.SortedSet< T >.Clear(), System.Collections.Generic.SortedSet< T >.Count, System.Collections.Generic.SortedSet< T >.HasEqualComparer(), System.length, System.other, System.Array.Sort(), System.Collections.Generic.SortedSet< T >.SymmetricExceptWithSameComparer(), and System.Collections.Generic.SortedSet< T >.UnionWith().