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

◆ IsSubsetOfHashSetWithSameComparer()

bool System.Collections.Generic.HashSet< T >.IsSubsetOfHashSetWithSameComparer ( HashSet< T > other)
inlinepackage

Definition at line 1013 of file HashSet.cs.

1014 {
1016 {
1017 while (enumerator.MoveNext())
1018 {
1019 T current = enumerator.Current;
1020 if (!other.Contains(current))
1021 {
1022 return false;
1023 }
1024 }
1025 }
1026 return true;
1027 }

References System.Collections.Generic.HashSet< T >.GetEnumerator(), and System.other.

Referenced by System.Collections.Generic.HashSet< T >.IsProperSubsetOf(), and System.Collections.Generic.HashSet< T >.IsSubsetOf().