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

◆ Overlaps() [2/2]

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

Definition at line 1046 of file ImmutableHashSet.cs.

1047 {
1048 Requires.NotNull(other, "other");
1049 if (origin.Root.IsEmpty)
1050 {
1051 return false;
1052 }
1053 foreach (T item in other.GetEnumerableDisposable<T, Enumerator>())
1054 {
1055 if (Contains(item, origin))
1056 {
1057 return true;
1058 }
1059 }
1060 return false;
1061 }

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