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

◆ SymmetricExceptWith()

void System.Collections.Generic.HashSet< T >.SymmetricExceptWith ( IEnumerable< T > other)
inline

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

Definition at line 517 of file HashSet.cs.

518 {
519 if (other == null)
520 {
521 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.other);
522 }
523 if (Count == 0)
524 {
526 }
527 else if (other == this)
528 {
529 Clear();
530 }
532 {
534 }
535 else
536 {
538 }
539 }
void SymmetricExceptWithEnumerable(IEnumerable< T > other)
Definition HashSet.cs:1081
void UnionWith(IEnumerable< T > other)
Definition HashSet.cs:458
void SymmetricExceptWithUniqueHashSet(HashSet< T > other)
Definition HashSet.cs:1070
static bool EqualityComparersAreEqual(HashSet< T > set1, HashSet< T > set2)
Definition HashSet.cs:1153

References System.Collections.Generic.HashSet< T >.Clear(), System.Collections.Generic.HashSet< T >.Count, System.Collections.Generic.HashSet< T >.EqualityComparersAreEqual(), System.other, System.Collections.Generic.HashSet< T >.SymmetricExceptWithEnumerable(), System.Collections.Generic.HashSet< T >.SymmetricExceptWithUniqueHashSet(), System.ThrowHelper.ThrowArgumentNullException(), and System.Collections.Generic.HashSet< T >.UnionWith().