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

◆ SymmetricExcept() [1/2]

Implements System.Collections.Immutable.IImmutableSet< T >.

Definition at line 1070 of file ImmutableSortedSet.cs.

1071 {
1072 Requires.NotNull(other, "other");
1076 {
1077 while (enumerator.MoveNext())
1078 {
1079 T current = enumerator.Current;
1080 if (!immutableSortedSet.Contains(current))
1081 {
1083 }
1084 }
1085 }
1086 foreach (T item in immutableSortedSet)
1087 {
1088 if (!Contains(item))
1089 {
1091 }
1092 }
1093 return immutableSortedSet2;
1094 }
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
IEnumerator< T > IEnumerable< T >. GetEnumerator()

References System.Collections.Immutable.ImmutableSortedSet< T >._comparer, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Immutable.ImmutableSortedSet< T >.Clear(), System.Collections.Generic.Dictionary< TKey, TValue >.Contains(), System.Collections.Immutable.ImmutableSortedSet< T >.Contains(), System.Collections.Immutable.ImmutableSortedSet< T >.GetEnumerator(), System.item, and System.other.

Referenced by System.Collections.Immutable.ImmutableSortedSet< T >.SymmetricExcept().