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

◆ IsSupersetOf() [2/2]

static bool System.Collections.Immutable.ImmutableHashSet< T >.IsSupersetOf ( IEnumerable< T > other,
MutationInput origin )
inlinestaticprivate

Definition at line 974 of file ImmutableHashSet.cs.

975 {
976 Requires.NotNull(other, "other");
977 foreach (T item in other.GetEnumerableDisposable<T, Enumerator>())
978 {
979 if (!Contains(item, origin))
980 {
981 return false;
982 }
983 }
984 return true;
985 }

References System.Collections.Immutable.ImmutableHashSet< T >.Contains(), System.item, and System.other.