Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

607 lines
28 KiB
C#

using System;
using System.Diagnostics;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Collections.Generic
{
/// <summary>Represents a set of values.To browse the .NET Framework source code for this type, see the Reference Source.</summary>
/// <typeparam name="T">The type of elements in the hash set.</typeparam>
// Token: 0x0200027F RID: 639
[Token(Token = "0x200027F")]
[DebuggerTypeProxy(typeof(ICollectionDebugView<>))]
[DebuggerDisplay("Count = {Count}")]
[Serializable]
public class HashSet<T> : ICollection<T>, IEnumerable<T>, IEnumerable, ISet<T>, IReadOnlyCollection<T>, ISerializable, IDeserializationCallback
{
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Generic.HashSet`1" /> class that is empty and uses the default equality comparer for the set type.</summary>
// Token: 0x06000CFD RID: 3325 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CFD")]
[Address(RVA = "0x330FBB0", Offset = "0x330EBB0", VA = "0x18330FBB0")]
public HashSet()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Generic.HashSet`1" /> class that is empty and uses the specified equality comparer for the set type.</summary>
/// <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> implementation to use when comparing values in the set, or <see langword="null" /> to use the default <see cref="T:System.Collections.Generic.EqualityComparer`1" /> implementation for the set type.</param>
// Token: 0x06000CFE RID: 3326 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CFE")]
[Address(RVA = "0x330FE80", Offset = "0x330EE80", VA = "0x18330FE80")]
public HashSet(IEqualityComparer<T> comparer)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Generic.HashSet`1" /> class that uses the default equality comparer for the set type, contains elements copied from the specified collection, and has sufficient capacity to accommodate the number of elements copied.</summary>
/// <param name="collection">The collection whose elements are copied to the new set.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="collection" /> is <see langword="null" />.</exception>
// Token: 0x06000CFF RID: 3327 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CFF")]
[Address(RVA = "0x330FC10", Offset = "0x330EC10", VA = "0x18330FC10")]
public HashSet(IEnumerable<T> collection)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Generic.HashSet`1" /> class that uses the specified equality comparer for the set type, contains elements copied from the specified collection, and has sufficient capacity to accommodate the number of elements copied.</summary>
/// <param name="collection">The collection whose elements are copied to the new set.</param>
/// <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> implementation to use when comparing values in the set, or <see langword="null" /> to use the default <see cref="T:System.Collections.Generic.EqualityComparer`1" /> implementation for the set type.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="collection" /> is <see langword="null" />.</exception>
// Token: 0x06000D00 RID: 3328 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D00")]
[Address(RVA = "0x3310730", Offset = "0x330F730", VA = "0x183310730")]
public HashSet(IEnumerable<T> collection, IEqualityComparer<T> comparer)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Generic.HashSet`1" /> class with serialized data.</summary>
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that contains the information required to serialize the <see cref="T:System.Collections.Generic.HashSet`1" /> object.</param>
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> structure that contains the source and destination of the serialized stream associated with the <see cref="T:System.Collections.Generic.HashSet`1" /> object.</param>
// Token: 0x06000D01 RID: 3329 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D01")]
[Address(RVA = "0x33100F0", Offset = "0x330F0F0", VA = "0x1833100F0")]
protected HashSet(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06000D02 RID: 3330 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D02")]
[Address(RVA = "0x3302CD0", Offset = "0x3301CD0", VA = "0x183302CD0")]
private void CopyFrom(HashSet<T> source)
{
}
// Token: 0x06000D03 RID: 3331 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D03")]
[Address(RVA = "0x32FFBA0", Offset = "0x32FEBA0", VA = "0x1832FFBA0", Slot = "6")]
void ICollection<T>.Add(T item)
{
}
/// <summary>Removes all elements from a <see cref="T:System.Collections.Generic.HashSet`1" /> object.</summary>
// Token: 0x06000D04 RID: 3332 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D04")]
[Address(RVA = "0x33017B0", Offset = "0x33007B0", VA = "0x1833017B0", Slot = "7")]
public void Clear()
{
}
/// <summary>Determines whether a <see cref="T:System.Collections.Generic.HashSet`1" /> object contains the specified element.</summary>
/// <param name="item">The element to locate in the <see cref="T:System.Collections.Generic.HashSet`1" /> object.</param>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Collections.Generic.HashSet`1" /> object contains the specified element; otherwise, <see langword="false" />.</returns>
// Token: 0x06000D05 RID: 3333 RVA: 0x00006918 File Offset: 0x00004B18
[Token(Token = "0x6000D05")]
[Address(RVA = "0x3A4F610", Offset = "0x3A4E610", VA = "0x183A4F610", Slot = "8")]
public bool Contains(T item)
{
return default(bool);
}
/// <summary>Copies the elements of a <see cref="T:System.Collections.Generic.HashSet`1" /> object to an array, starting at the specified array index.</summary>
/// <param name="array">The one-dimensional array that is the destination of the elements copied from the <see cref="T:System.Collections.Generic.HashSet`1" /> object. The array must have zero-based indexing.</param>
/// <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="arrayIndex" /> is less than 0.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="arrayIndex" /> is greater than the length of the destination <paramref name="array" />.</exception>
// Token: 0x06000D06 RID: 3334 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D06")]
[Address(RVA = "0x3303E10", Offset = "0x3302E10", VA = "0x183303E10", Slot = "9")]
public void CopyTo(T[] array, int arrayIndex)
{
}
/// <summary>Removes the specified element from a <see cref="T:System.Collections.Generic.HashSet`1" /> object.</summary>
/// <param name="item">The element to remove.</param>
/// <returns>
/// <see langword="true" /> if the element is successfully found and removed; otherwise, <see langword="false" />. This method returns <see langword="false" /> if <paramref name="item" /> is not found in the <see cref="T:System.Collections.Generic.HashSet`1" /> object.</returns>
// Token: 0x06000D07 RID: 3335 RVA: 0x00006930 File Offset: 0x00004B30
[Token(Token = "0x6000D07")]
[Address(RVA = "0x3A58B30", Offset = "0x3A57B30", VA = "0x183A58B30", Slot = "10")]
public bool Remove(T item)
{
return default(bool);
}
/// <summary>Gets the number of elements that are contained in a set.</summary>
/// <returns>The number of elements that are contained in the set.</returns>
// Token: 0x1700028A RID: 650
// (get) Token: 0x06000D08 RID: 3336 RVA: 0x00006948 File Offset: 0x00004B48
[Token(Token = "0x1700028A")]
public int Count
{
[Token(Token = "0x6000D08")]
[Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70", Slot = "16")]
get
{
return 0;
}
}
// Token: 0x1700028B RID: 651
// (get) Token: 0x06000D09 RID: 3337 RVA: 0x00006960 File Offset: 0x00004B60
[Token(Token = "0x1700028B")]
bool ICollection<T>.IsReadOnly
{
[Token(Token = "0x6000D09")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "5")]
get
{
return default(bool);
}
}
/// <summary>Returns an enumerator that iterates through a <see cref="T:System.Collections.Generic.HashSet`1" /> object.</summary>
/// <returns>A <see cref="T:System.Collections.Generic.HashSet`1.Enumerator" /> object for the <see cref="T:System.Collections.Generic.HashSet`1" /> object.</returns>
// Token: 0x06000D0A RID: 3338 RVA: 0x00006978 File Offset: 0x00004B78
[Token(Token = "0x6000D0A")]
[Address(RVA = "0x3A52910", Offset = "0x3A51910", VA = "0x183A52910")]
public HashSet<T>.Enumerator GetEnumerator()
{
return default(HashSet<T>.Enumerator);
}
// Token: 0x06000D0B RID: 3339 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000D0B")]
[Address(RVA = "0x330DD60", Offset = "0x330CD60", VA = "0x18330DD60", Slot = "11")]
IEnumerator<T> IEnumerable<T>.GetEnumerator()
{
return null;
}
/// <summary>Returns an enumerator that iterates through a collection.</summary>
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
// Token: 0x06000D0C RID: 3340 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000D0C")]
[Address(RVA = "0x330DD60", Offset = "0x330CD60", VA = "0x18330DD60", Slot = "12")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
/// <summary>Implements the <see cref="T:System.Runtime.Serialization.ISerializable" /> interface and returns the data needed to serialize a <see cref="T:System.Collections.Generic.HashSet`1" /> object.</summary>
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that contains the information required to serialize the <see cref="T:System.Collections.Generic.HashSet`1" /> object.</param>
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> structure that contains the source and destination of the serialized stream associated with the <see cref="T:System.Collections.Generic.HashSet`1" /> object.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06000D0D RID: 3341 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D0D")]
[Address(RVA = "0x3305C00", Offset = "0x3304C00", VA = "0x183305C00", Slot = "19")]
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Implements the <see cref="T:System.Runtime.Serialization.ISerializable" /> interface and raises the deserialization event when the deserialization is complete.</summary>
/// <param name="sender">The source of the deserialization event.</param>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object associated with the current <see cref="T:System.Collections.Generic.HashSet`1" /> object is invalid.</exception>
// Token: 0x06000D0E RID: 3342 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D0E")]
[Address(RVA = "0x330A300", Offset = "0x3309300", VA = "0x18330A300", Slot = "20")]
public virtual void OnDeserialization(object sender)
{
}
/// <summary>Adds the specified element to a set.</summary>
/// <param name="item">The element to add to the set.</param>
/// <returns>
/// <see langword="true" /> if the element is added to the <see cref="T:System.Collections.Generic.HashSet`1" /> object; <see langword="false" /> if the element is already present.</returns>
// Token: 0x06000D0F RID: 3343 RVA: 0x00006990 File Offset: 0x00004B90
[Token(Token = "0x6000D0F")]
[Address(RVA = "0x32FFB70", Offset = "0x32FEB70", VA = "0x1832FFB70", Slot = "13")]
public bool Add(T item)
{
return default(bool);
}
/// <summary>Modifies the current <see cref="T:System.Collections.Generic.HashSet`1" /> object to contain all elements that are present in itself, the specified collection, or both.</summary>
/// <param name="other">The collection to compare to the current <see cref="T:System.Collections.Generic.HashSet`1" /> object.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="other" /> is <see langword="null" />.</exception>
// Token: 0x06000D10 RID: 3344 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D10")]
[Address(RVA = "0x330F7B0", Offset = "0x330E7B0", VA = "0x18330F7B0", Slot = "14")]
public void UnionWith(IEnumerable<T> other)
{
}
/// <summary>Modifies the current <see cref="T:System.Collections.Generic.HashSet`1" /> object to contain only elements that are present in that object and in the specified collection.</summary>
/// <param name="other">The collection to compare to the current <see cref="T:System.Collections.Generic.HashSet`1" /> object.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="other" /> is <see langword="null" />.</exception>
// Token: 0x06000D11 RID: 3345 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D11")]
[Address(RVA = "0x3309FA0", Offset = "0x3308FA0", VA = "0x183309FA0", Slot = "15")]
public void IntersectWith(IEnumerable<T> other)
{
}
/// <summary>Removes all elements in the specified collection from the current <see cref="T:System.Collections.Generic.HashSet`1" /> object.</summary>
/// <param name="other">The collection of items to remove from the <see cref="T:System.Collections.Generic.HashSet`1" /> object.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="other" /> is <see langword="null" />.</exception>
// Token: 0x06000D12 RID: 3346 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D12")]
[Address(RVA = "0x3304B10", Offset = "0x3303B10", VA = "0x183304B10", Slot = "21")]
public void ExceptWith(IEnumerable<T> other)
{
}
/// <summary>Determines whether a <see cref="T:System.Collections.Generic.HashSet`1" /> object and the specified collection contain the same elements.</summary>
/// <param name="other">The collection to compare to the current <see cref="T:System.Collections.Generic.HashSet`1" /> object.</param>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Collections.Generic.HashSet`1" /> object is equal to <paramref name="other" />; otherwise, false.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="other" /> is <see langword="null" />.</exception>
// Token: 0x06000D13 RID: 3347 RVA: 0x000069A8 File Offset: 0x00004BA8
[Token(Token = "0x6000D13")]
[Address(RVA = "0x330D700", Offset = "0x330C700", VA = "0x18330D700", Slot = "22")]
public bool SetEquals(IEnumerable<T> other)
{
return default(bool);
}
/// <summary>Copies the elements of a <see cref="T:System.Collections.Generic.HashSet`1" /> object to an array.</summary>
/// <param name="array">The one-dimensional array that is the destination of the elements copied from the <see cref="T:System.Collections.Generic.HashSet`1" /> object. The array must have zero-based indexing.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
// Token: 0x06000D14 RID: 3348 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D14")]
[Address(RVA = "0x3303DD0", Offset = "0x3302DD0", VA = "0x183303DD0")]
public void CopyTo(T[] array)
{
}
/// <summary>Copies the specified number of elements of a <see cref="T:System.Collections.Generic.HashSet`1" /> object to an array, starting at the specified array index.</summary>
/// <param name="array">The one-dimensional array that is the destination of the elements copied from the <see cref="T:System.Collections.Generic.HashSet`1" /> object. The array must have zero-based indexing.</param>
/// <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
/// <param name="count">The number of elements to copy to <paramref name="array" />.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="arrayIndex" /> is less than 0.-or-
/// <paramref name="count" /> is less than 0.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="arrayIndex" /> is greater than the length of the destination <paramref name="array" />.-or-
/// <paramref name="count" /> is greater than the available space from the <paramref name="index" /> to the end of the destination <paramref name="array" />.</exception>
// Token: 0x06000D15 RID: 3349 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D15")]
[Address(RVA = "0x3304070", Offset = "0x3303070", VA = "0x183304070")]
public void CopyTo(T[] array, int arrayIndex, int count)
{
}
/// <summary>Gets the <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> object that is used to determine equality for the values in the set.</summary>
/// <returns>The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> object that is used to determine equality for the values in the set.</returns>
// Token: 0x1700028C RID: 652
// (get) Token: 0x06000D16 RID: 3350 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700028C")]
public IEqualityComparer<T> Comparer
{
[Token(Token = "0x6000D16")]
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
get
{
return null;
}
}
/// <summary>Sets the capacity of a <see cref="T:System.Collections.Generic.HashSet`1" /> object to the actual number of elements it contains, rounded up to a nearby, implementation-specific value.</summary>
// Token: 0x06000D17 RID: 3351 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D17")]
[Address(RVA = "0x330E340", Offset = "0x330D340", VA = "0x18330E340")]
public void TrimExcess()
{
}
// Token: 0x06000D18 RID: 3352 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D18")]
[Address(RVA = "0x3306D30", Offset = "0x3305D30", VA = "0x183306D30")]
private void Initialize(int capacity)
{
}
// Token: 0x06000D19 RID: 3353 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D19")]
[Address(RVA = "0x3306800", Offset = "0x3305800", VA = "0x183306800")]
private void IncreaseCapacity()
{
}
// Token: 0x06000D1A RID: 3354 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D1A")]
[Address(RVA = "0x330CB70", Offset = "0x330BB70", VA = "0x18330CB70")]
private void SetCapacity(int newSize)
{
}
// Token: 0x06000D1B RID: 3355 RVA: 0x000069C0 File Offset: 0x00004BC0
[Token(Token = "0x6000D1B")]
[Address(RVA = "0x32FED50", Offset = "0x32FDD50", VA = "0x1832FED50")]
private bool AddIfNotPresent(T value)
{
return default(bool);
}
// Token: 0x06000D1C RID: 3356 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D1C")]
[Address(RVA = "0x32FF970", Offset = "0x32FE970", VA = "0x1832FF970")]
private void AddValue(int index, int hashCode, T value)
{
}
// Token: 0x06000D1D RID: 3357 RVA: 0x000069D8 File Offset: 0x00004BD8
[Token(Token = "0x6000D1D")]
[Address(RVA = "0x3301810", Offset = "0x3300810", VA = "0x183301810")]
private bool ContainsAllElements(IEnumerable<T> other)
{
return default(bool);
}
// Token: 0x06000D1E RID: 3358 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D1E")]
[Address(RVA = "0x3309460", Offset = "0x3308460", VA = "0x183309460")]
private void IntersectWithHashSetWithSameEC(HashSet<T> other)
{
}
// Token: 0x06000D1F RID: 3359 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D1F")]
[Address(RVA = "0x3308C70", Offset = "0x3307C70", VA = "0x183308C70")]
private void IntersectWithEnumerable(IEnumerable<T> other)
{
}
// Token: 0x06000D20 RID: 3360 RVA: 0x000069F0 File Offset: 0x00004BF0
[Token(Token = "0x6000D20")]
[Address(RVA = "0x3307600", Offset = "0x3306600", VA = "0x183307600")]
private int InternalIndexOf(T item)
{
return 0;
}
// Token: 0x06000D21 RID: 3361 RVA: 0x00006A08 File Offset: 0x00004C08
[Token(Token = "0x6000D21")]
[Address(RVA = "0x32FFCF0", Offset = "0x32FECF0", VA = "0x1832FFCF0")]
private HashSet<T>.ElementCount CheckUniqueAndUnfoundElements(IEnumerable<T> other, bool returnIfUnfound)
{
return default(HashSet<T>.ElementCount);
}
// Token: 0x06000D22 RID: 3362 RVA: 0x00006A20 File Offset: 0x00004C20
[Token(Token = "0x6000D22")]
[Address(RVA = "0x32FFBE0", Offset = "0x32FEBE0", VA = "0x1832FFBE0")]
private static bool AreEqualityComparersEqual(HashSet<T> set1, HashSet<T> set2)
{
return default(bool);
}
// Token: 0x06000D23 RID: 3363 RVA: 0x00006A38 File Offset: 0x00004C38
[Token(Token = "0x6000D23")]
[Address(RVA = "0x33072F0", Offset = "0x33062F0", VA = "0x1833072F0")]
private int InternalGetHashCode(T item)
{
return 0;
}
// Token: 0x040004D8 RID: 1240
[Token(Token = "0x40004D8")]
private const int Lower31BitMask = 2147483647;
// Token: 0x040004D9 RID: 1241
[Token(Token = "0x40004D9")]
private const int StackAllocThreshold = 100;
// Token: 0x040004DA RID: 1242
[Token(Token = "0x40004DA")]
private const int ShrinkThreshold = 3;
// Token: 0x040004DB RID: 1243
[Token(Token = "0x40004DB")]
private const string CapacityName = "Capacity";
// Token: 0x040004DC RID: 1244
[Token(Token = "0x40004DC")]
private const string ElementsName = "Elements";
// Token: 0x040004DD RID: 1245
[Token(Token = "0x40004DD")]
private const string ComparerName = "Comparer";
// Token: 0x040004DE RID: 1246
[Token(Token = "0x40004DE")]
private const string VersionName = "Version";
// Token: 0x040004DF RID: 1247
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004DF")]
private int[] _buckets;
// Token: 0x040004E0 RID: 1248
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E0")]
private HashSet<T>.Slot[] _slots;
// Token: 0x040004E1 RID: 1249
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E1")]
private int _count;
// Token: 0x040004E2 RID: 1250
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E2")]
private int _lastIndex;
// Token: 0x040004E3 RID: 1251
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E3")]
private int _freeList;
// Token: 0x040004E4 RID: 1252
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E4")]
private IEqualityComparer<T> _comparer;
// Token: 0x040004E5 RID: 1253
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E5")]
private int _version;
// Token: 0x040004E6 RID: 1254
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E6")]
private SerializationInfo _siInfo;
// Token: 0x02000280 RID: 640
[Token(Token = "0x2000280")]
internal struct ElementCount
{
// Token: 0x040004E7 RID: 1255
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E7")]
internal int uniqueCount;
// Token: 0x040004E8 RID: 1256
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E8")]
internal int unfoundCount;
}
// Token: 0x02000281 RID: 641
[Token(Token = "0x2000281")]
internal struct Slot
{
// Token: 0x040004E9 RID: 1257
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004E9")]
internal int hashCode;
// Token: 0x040004EA RID: 1258
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004EA")]
internal int next;
// Token: 0x040004EB RID: 1259
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004EB")]
internal T value;
}
/// <summary>Enumerates the elements of a <see cref="T:System.Collections.Generic.HashSet`1" /> object.</summary>
// Token: 0x02000282 RID: 642
[Token(Token = "0x2000282")]
[Serializable]
public struct Enumerator : IEnumerator<T>, IDisposable, IEnumerator
{
// Token: 0x06000D24 RID: 3364 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D24")]
[Address(RVA = "0x32FE140", Offset = "0x32FD140", VA = "0x1832FE140")]
internal Enumerator(HashSet<T> set)
{
}
/// <summary>Releases all resources used by a <see cref="T:System.Collections.Generic.HashSet`1.Enumerator" /> object.</summary>
// Token: 0x06000D25 RID: 3365 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D25")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
public void Dispose()
{
}
/// <summary>Advances the enumerator to the next element of the <see cref="T:System.Collections.Generic.HashSet`1" /> collection.</summary>
/// <returns>
/// <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the collection.</returns>
/// <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created. </exception>
// Token: 0x06000D26 RID: 3366 RVA: 0x00006A50 File Offset: 0x00004C50
[Token(Token = "0x6000D26")]
[Address(RVA = "0x32FBAE0", Offset = "0x32FAAE0", VA = "0x1832FBAE0", Slot = "6")]
public bool MoveNext()
{
return default(bool);
}
/// <summary>Gets the element at the current position of the enumerator.</summary>
/// <returns>The element in the <see cref="T:System.Collections.Generic.HashSet`1" /> collection at the current position of the enumerator.</returns>
// Token: 0x1700028D RID: 653
// (get) Token: 0x06000D27 RID: 3367 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700028D")]
public T Current
{
[Token(Token = "0x6000D27")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "4")]
get
{
return null;
}
}
/// <summary>Gets the element at the current position of the enumerator.</summary>
/// <returns>The element in the collection at the current position of the enumerator, as an <see cref="T:System.Object" />.</returns>
/// <exception cref="T:System.InvalidOperationException">The enumerator is positioned before the first element of the collection or after the last element. </exception>
// Token: 0x1700028E RID: 654
// (get) Token: 0x06000D28 RID: 3368 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700028E")]
object IEnumerator.Current
{
[Token(Token = "0x6000D28")]
[Address(RVA = "0x32FD6D0", Offset = "0x32FC6D0", VA = "0x1832FD6D0", Slot = "7")]
get
{
return null;
}
}
/// <summary>Sets the enumerator to its initial position, which is before the first element in the collection.</summary>
/// <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created. </exception>
// Token: 0x06000D29 RID: 3369 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D29")]
[Address(RVA = "0x32FCBF0", Offset = "0x32FBBF0", VA = "0x1832FCBF0", Slot = "8")]
void IEnumerator.Reset()
{
}
// Token: 0x040004EC RID: 1260
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004EC")]
private HashSet<T> _set;
// Token: 0x040004ED RID: 1261
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004ED")]
private int _index;
// Token: 0x040004EE RID: 1262
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004EE")]
private int _version;
// Token: 0x040004EF RID: 1263
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004EF")]
private T _current;
}
}
}