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

◆ IsProperSupersetOf() [2/2]

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

Definition at line 1192 of file ImmutableHashSet.cs.

1193 {
1194 Requires.NotNull(other, "other");
1195 if (origin.Root.IsEmpty)
1196 {
1197 return false;
1198 }
1199 int num = 0;
1200 foreach (T item in other.GetEnumerableDisposable<T, Enumerator>())
1201 {
1202 num++;
1203 if (!Contains(item, origin))
1204 {
1205 return false;
1206 }
1207 }
1208 return origin.Count > num;
1209 }

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