11[DebuggerDisplay(
"Count = {Count}")]
12[
TypeForwardedFrom(
"System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
215 for (
int i = 0; i <
source._count; i++)
258 int num2 =
item?.GetHashCode() ?? 0;
259 if (
typeof(T).IsValueType)
271 if (num > (uint)
entries.Length)
290 if (num > (uint)
entries.Length)
310 if (num > (uint)
entries.Length)
362 if (num > (uint)
entries.Length)
410 int @
int =
value.GetInt32(
"Capacity");
424 for (
int i = 0; i <
array.Length; i++)
527 else if (
other ==
this)
744 for (
int i = 0; i <
_count; i++)
767 for (
int i = 0; i <
_count; i++)
815 for (
int i = 0; i <
count; i++)
858 for (
int i = 0; i <
count2; i++)
860 int hashCode =
entries[i].HashCode;
883 int[] buckets =
new int[
prime];
908 if (
typeof(T).IsValueType)
920 if (num > (uint)
entries.Length)
939 if (num > (uint)
entries.Length)
961 if (num > (uint)
entries.Length)
1020 if (!
other.Contains(current))
1032 for (
int i = 0; i <
_count; i++)
1060 for (
int i = 0; i <
count; i++)
1100 for (
int i = 0; i <
count; i++)
static unsafe void Clear(Array array)
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
IEqualityComparer< TKey > Comparer
bool ICollection< KeyValuePair< TKey, TValue > >. IsReadOnly
Enumerator GetEnumerator()
void Add(TKey key, TValue value)
Enumerator GetEnumerator()
void IntersectWithEnumerable(IEnumerable< T > other)
bool IsSubsetOf(IEnumerable< T > other)
HashSet(int capacity, IEqualityComparer< T >? comparer)
void IntersectWithHashSetWithSameComparer(HashSet< T > other)
static IEqualityComparer< HashSet< T > > CreateSetComparer()
bool Overlaps(IEnumerable< T > other)
bool ContainsAllElements(IEnumerable< T > other)
void SymmetricExceptWithEnumerable(IEnumerable< T > other)
void UnionWith(IEnumerable< T > other)
void IntersectWith(IEnumerable< T > other)
int Initialize(int capacity)
bool IsProperSubsetOf(IEnumerable< T > other)
HashSet(IEnumerable< T > collection, IEqualityComparer< T >? comparer)
IEqualityComparer< T > _comparer
bool IsSubsetOfHashSetWithSameComparer(HashSet< T > other)
ref int GetBucketRef(int hashCode)
int EnsureCapacity(int capacity)
void ExceptWith(IEnumerable< T > other)
void SymmetricExceptWith(IEnumerable< T > other)
int RemoveWhere(Predicate< T > match)
virtual void OnDeserialization(object? sender)
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
bool TryGetValue(T equalValue, [MaybeNullWhen(false)] out T actualValue)
void SymmetricExceptWithUniqueHashSet(HashSet< T > other)
bool AddIfNotPresent(T value, out int location)
void CopyTo(T[] array, int arrayIndex, int count)
void CopyTo(T[] array, int arrayIndex)
bool SetEquals(IEnumerable< T > other)
static bool EqualityComparersAreEqual(HashSet< T > set1, HashSet< T > set2)
int FindItemIndex(T item)
bool IsProperSupersetOf(IEnumerable< T > other)
int int UnfoundCount CheckUniqueAndUnfoundElements(IEnumerable< T > other, bool returnIfUnfound)
HashSet(IEnumerable< T > collection)
HashSet(IEqualityComparer< T >? comparer)
bool IsSupersetOf(IEnumerable< T > other)
void ConstructFrom(HashSet< T > source)
HashSet(SerializationInfo info, StreamingContext context)
void Resize(int newSize, bool forceNewHashCodes)
static ? IEqualityComparer< string > GetStringComparer(object? comparer)
static int GetPrime(int min)
static uint FastMod(uint value, uint divisor, ulong multiplier)
static int ExpandPrime(int oldSize)
static ulong GetFastModMultiplier(uint divisor)
static ConditionalWeakTable< object, SerializationInfo > SerializationInfoTable
static string ArgumentOutOfRange_NeedNonNegNum
static void ThrowInvalidOperationException_InvalidOperation_EnumOpCantHappen()
static void ThrowArgumentOutOfRangeException(System.ExceptionArgument argument)
static void ThrowArgumentNullException(string name)
static void ThrowSerializationException(ExceptionResource resource)
static void ThrowArgumentException(ExceptionResource resource)
static void ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion()
static void ThrowInvalidOperationException_ConcurrentOperationsNotSupported()
new IEnumerator< T > GetEnumerator()
int GetHashCode([DisallowNull] T obj)
IEqualityComparer< string > GetUnderlyingEqualityComparer()
new bool Equals(object? x, object? y)
static int ToIntArrayLength(int n)
readonly HashSet< T > _hashSet
Enumerator(HashSet< T > hashSet)