using System; using System.Diagnostics; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Collections.Generic { /// Represents a set of values.To browse the .NET Framework source code for this type, see the Reference Source. /// The type of elements in the hash set. // Token: 0x02000261 RID: 609 [Token(Token = "0x2000261")] [DebuggerTypeProxy(typeof(ICollectionDebugView<>))] [DebuggerDisplay("Count = {Count}")] [Serializable] public class HashSet : ICollection, IEnumerable, IEnumerable, ISet, IReadOnlyCollection, ISerializable, IDeserializationCallback { /// Initializes a new instance of the class that is empty and uses the default equality comparer for the set type. // Token: 0x06000BE6 RID: 3046 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BE6")] [Address(RVA = "0x2BBB260", Offset = "0x2BBA060", VA = "0x182BBB260")] public HashSet() { } /// Initializes a new instance of the class that is empty and uses the specified equality comparer for the set type. /// The implementation to use when comparing values in the set, or to use the default implementation for the set type. // Token: 0x06000BE7 RID: 3047 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BE7")] [Address(RVA = "0x2BBB2C0", Offset = "0x2BBA0C0", VA = "0x182BBB2C0")] public HashSet(IEqualityComparer comparer) { } /// Initializes a new instance of the 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. /// The collection whose elements are copied to the new set. /// /// is . // Token: 0x06000BE8 RID: 3048 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BE8")] [Address(RVA = "0x2BBB570", Offset = "0x2BBA370", VA = "0x182BBB570")] public HashSet(IEnumerable collection) { } /// Initializes a new instance of the 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. /// The collection whose elements are copied to the new set. /// The implementation to use when comparing values in the set, or to use the default implementation for the set type. /// /// is . // Token: 0x06000BE9 RID: 3049 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BE9")] [Address(RVA = "0x2BBB7E0", Offset = "0x2BBA5E0", VA = "0x182BBB7E0")] public HashSet(IEnumerable collection, IEqualityComparer comparer) { } /// Initializes a new instance of the class with serialized data. /// A object that contains the information required to serialize the object. /// A structure that contains the source and destination of the serialized stream associated with the object. // Token: 0x06000BEA RID: 3050 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BEA")] [Address(RVA = "0x2BBB330", Offset = "0x2BBA130", VA = "0x182BBB330")] protected HashSet(SerializationInfo info, StreamingContext context) { } // Token: 0x06000BEB RID: 3051 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BEB")] [Address(RVA = "0x2BB5800", Offset = "0x2BB4600", VA = "0x182BB5800")] private void CopyFrom(HashSet source) { } // Token: 0x06000BEC RID: 3052 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BEC")] [Address(RVA = "0x2BB4110", Offset = "0x2BB2F10", VA = "0x182BB4110", Slot = "6")] void ICollection.Add(T item) { } /// Removes all elements from a object. // Token: 0x06000BED RID: 3053 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BED")] [Address(RVA = "0x2BB4DE0", Offset = "0x2BB3BE0", VA = "0x182BB4DE0", Slot = "7")] public void Clear() { } /// Determines whether a object contains the specified element. /// The element to locate in the object. /// /// if the object contains the specified element; otherwise, . // Token: 0x06000BEE RID: 3054 RVA: 0x00006450 File Offset: 0x00004650 [Token(Token = "0x6000BEE")] [Address(RVA = "0x346FB60", Offset = "0x346E960", VA = "0x18346FB60", Slot = "8")] public bool Contains(T item) { return default(bool); } /// Copies the elements of a object to an array, starting at the specified array index. /// The one-dimensional array that is the destination of the elements copied from the object. The array must have zero-based indexing. /// The zero-based index in at which copying begins. /// /// is . /// /// is less than 0. /// /// is greater than the length of the destination . // Token: 0x06000BEF RID: 3055 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BEF")] [Address(RVA = "0x2BB60C0", Offset = "0x2BB4EC0", VA = "0x182BB60C0", Slot = "9")] public void CopyTo(T[] array, int arrayIndex) { } /// Removes the specified element from a object. /// The element to remove. /// /// if the element is successfully found and removed; otherwise, . This method returns if is not found in the object. // Token: 0x06000BF0 RID: 3056 RVA: 0x00006468 File Offset: 0x00004668 [Token(Token = "0x6000BF0")] [Address(RVA = "0x347AE10", Offset = "0x3479C10", VA = "0x18347AE10", Slot = "10")] public bool Remove(T item) { return default(bool); } /// Gets the number of elements that are contained in a set. /// The number of elements that are contained in the set. // Token: 0x1700024F RID: 591 // (get) Token: 0x06000BF1 RID: 3057 RVA: 0x00006480 File Offset: 0x00004680 [Token(Token = "0x1700024F")] public int Count { [Token(Token = "0x6000BF1")] [Address(RVA = "0x3F7310", Offset = "0x3F6110", VA = "0x1803F7310", Slot = "16")] get { return 0; } } // Token: 0x17000250 RID: 592 // (get) Token: 0x06000BF2 RID: 3058 RVA: 0x00006498 File Offset: 0x00004698 [Token(Token = "0x17000250")] bool ICollection.IsReadOnly { [Token(Token = "0x6000BF2")] [Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "5")] get { return default(bool); } } /// Returns an enumerator that iterates through a object. /// A object for the object. // Token: 0x06000BF3 RID: 3059 RVA: 0x000064B0 File Offset: 0x000046B0 [Token(Token = "0x6000BF3")] [Address(RVA = "0x34737A0", Offset = "0x34725A0", VA = "0x1834737A0")] public HashSet.Enumerator GetEnumerator() { return default(HashSet.Enumerator); } // Token: 0x06000BF4 RID: 3060 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BF4")] [Address(RVA = "0x2BBA500", Offset = "0x2BB9300", VA = "0x182BBA500", Slot = "11")] IEnumerator IEnumerable.GetEnumerator() { return null; } /// Returns an enumerator that iterates through a collection. /// An object that can be used to iterate through the collection. // Token: 0x06000BF5 RID: 3061 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BF5")] [Address(RVA = "0x2BBA500", Offset = "0x2BB9300", VA = "0x182BBA500", Slot = "12")] IEnumerator IEnumerable.GetEnumerator() { return null; } /// Implements the interface and returns the data needed to serialize a object. /// A object that contains the information required to serialize the object. /// A structure that contains the source and destination of the serialized stream associated with the object. /// /// is . // Token: 0x06000BF6 RID: 3062 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BF6")] [Address(RVA = "0x2BB6DD0", Offset = "0x2BB5BD0", VA = "0x182BB6DD0", Slot = "19")] public virtual void GetObjectData(SerializationInfo info, StreamingContext context) { } /// Implements the interface and raises the deserialization event when the deserialization is complete. /// The source of the deserialization event. /// The object associated with the current object is invalid. // Token: 0x06000BF7 RID: 3063 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BF7")] [Address(RVA = "0x2BB8C70", Offset = "0x2BB7A70", VA = "0x182BB8C70", Slot = "20")] public virtual void OnDeserialization(object sender) { } /// Adds the specified element to a set. /// The element to add to the set. /// /// if the element is added to the object; if the element is already present. // Token: 0x06000BF8 RID: 3064 RVA: 0x000064C8 File Offset: 0x000046C8 [Token(Token = "0x6000BF8")] [Address(RVA = "0x2BB40E0", Offset = "0x2BB2EE0", VA = "0x182BB40E0", Slot = "13")] public bool Add(T item) { return default(bool); } /// Modifies the current object to contain all elements that are present in itself, the specified collection, or both. /// The collection to compare to the current object. /// /// is . // Token: 0x06000BF9 RID: 3065 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BF9")] [Address(RVA = "0x2BBB060", Offset = "0x2BB9E60", VA = "0x182BBB060", Slot = "14")] public void UnionWith(IEnumerable other) { } /// Modifies the current object to contain only elements that are present in that object and in the specified collection. /// The collection to compare to the current object. /// /// is . // Token: 0x06000BFA RID: 3066 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BFA")] [Address(RVA = "0x2BB8910", Offset = "0x2BB7710", VA = "0x182BB8910", Slot = "15")] public void IntersectWith(IEnumerable other) { } /// Removes all elements in the specified collection from the current object. /// The collection of items to remove from the object. /// /// is . // Token: 0x06000BFB RID: 3067 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BFB")] [Address(RVA = "0x2BB6540", Offset = "0x2BB5340", VA = "0x182BB6540", Slot = "21")] public void ExceptWith(IEnumerable other) { } /// Determines whether a object and the specified collection contain the same elements. /// The collection to compare to the current object. /// /// if the object is equal to ; otherwise, false. /// /// is . // Token: 0x06000BFC RID: 3068 RVA: 0x000064E0 File Offset: 0x000046E0 [Token(Token = "0x6000BFC")] [Address(RVA = "0x2BBA120", Offset = "0x2BB8F20", VA = "0x182BBA120", Slot = "22")] public bool SetEquals(IEnumerable other) { return default(bool); } /// Copies the elements of a object to an array. /// The one-dimensional array that is the destination of the elements copied from the object. The array must have zero-based indexing. /// /// is . // Token: 0x06000BFD RID: 3069 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BFD")] [Address(RVA = "0x2BB6080", Offset = "0x2BB4E80", VA = "0x182BB6080")] public void CopyTo(T[] array) { } /// Copies the specified number of elements of a object to an array, starting at the specified array index. /// The one-dimensional array that is the destination of the elements copied from the object. The array must have zero-based indexing. /// The zero-based index in at which copying begins. /// The number of elements to copy to . /// /// is . /// /// is less than 0.-or- /// is less than 0. /// /// is greater than the length of the destination .-or- /// is greater than the available space from the to the end of the destination . // Token: 0x06000BFE RID: 3070 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BFE")] [Address(RVA = "0x2BB6100", Offset = "0x2BB4F00", VA = "0x182BB6100")] public void CopyTo(T[] array, int arrayIndex, int count) { } /// Gets the object that is used to determine equality for the values in the set. /// The object that is used to determine equality for the values in the set. // Token: 0x17000251 RID: 593 // (get) Token: 0x06000BFF RID: 3071 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000251")] public IEqualityComparer Comparer { [Token(Token = "0x6000BFF")] [Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")] get { return null; } } /// Sets the capacity of a object to the actual number of elements it contains, rounded up to a nearby, implementation-specific value. // Token: 0x06000C00 RID: 3072 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C00")] [Address(RVA = "0x2BBA840", Offset = "0x2BB9640", VA = "0x182BBA840")] public void TrimExcess() { } // Token: 0x06000C01 RID: 3073 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C01")] [Address(RVA = "0x2BB73D0", Offset = "0x2BB61D0", VA = "0x182BB73D0")] private void Initialize(int capacity) { } // Token: 0x06000C02 RID: 3074 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C02")] [Address(RVA = "0x2BB7190", Offset = "0x2BB5F90", VA = "0x182BB7190")] private void IncreaseCapacity() { } // Token: 0x06000C03 RID: 3075 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C03")] [Address(RVA = "0x2BB9B60", Offset = "0x2BB8960", VA = "0x182BB9B60")] private void SetCapacity(int newSize) { } // Token: 0x06000C04 RID: 3076 RVA: 0x000064F8 File Offset: 0x000046F8 [Token(Token = "0x6000C04")] [Address(RVA = "0x2BB37F0", Offset = "0x2BB25F0", VA = "0x182BB37F0")] private bool AddIfNotPresent(T value) { return default(bool); } // Token: 0x06000C05 RID: 3077 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C05")] [Address(RVA = "0x2BB3FE0", Offset = "0x2BB2DE0", VA = "0x182BB3FE0")] private void AddValue(int index, int hashCode, T value) { } // Token: 0x06000C06 RID: 3078 RVA: 0x00006510 File Offset: 0x00004710 [Token(Token = "0x6000C06")] [Address(RVA = "0x2BB4E40", Offset = "0x2BB3C40", VA = "0x182BB4E40")] private bool ContainsAllElements(IEnumerable other) { return default(bool); } // Token: 0x06000C07 RID: 3079 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C07")] [Address(RVA = "0x2BB8580", Offset = "0x2BB7380", VA = "0x182BB8580")] private void IntersectWithHashSetWithSameEC(HashSet other) { } // Token: 0x06000C08 RID: 3080 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C08")] [Address(RVA = "0x2BB81F0", Offset = "0x2BB6FF0", VA = "0x182BB81F0")] private void IntersectWithEnumerable(IEnumerable other) { } // Token: 0x06000C09 RID: 3081 RVA: 0x00006528 File Offset: 0x00004728 [Token(Token = "0x6000C09")] [Address(RVA = "0x2BB7780", Offset = "0x2BB6580", VA = "0x182BB7780")] private int InternalIndexOf(T item) { return 0; } // Token: 0x06000C0A RID: 3082 RVA: 0x00006540 File Offset: 0x00004740 [Token(Token = "0x6000C0A")] [Address(RVA = "0x2BB4260", Offset = "0x2BB3060", VA = "0x182BB4260")] private HashSet.ElementCount CheckUniqueAndUnfoundElements(IEnumerable other, bool returnIfUnfound) { return default(HashSet.ElementCount); } // Token: 0x06000C0B RID: 3083 RVA: 0x00006558 File Offset: 0x00004758 [Token(Token = "0x6000C0B")] [Address(RVA = "0x2BB4150", Offset = "0x2BB2F50", VA = "0x182BB4150")] private static bool AreEqualityComparersEqual(HashSet set1, HashSet set2) { return default(bool); } // Token: 0x06000C0C RID: 3084 RVA: 0x00006570 File Offset: 0x00004770 [Token(Token = "0x6000C0C")] [Address(RVA = "0x2BB76B0", Offset = "0x2BB64B0", VA = "0x182BB76B0")] private int InternalGetHashCode(T item) { return 0; } // Token: 0x0400046B RID: 1131 [Token(Token = "0x400046B")] private const int Lower31BitMask = 2147483647; // Token: 0x0400046C RID: 1132 [Token(Token = "0x400046C")] private const int StackAllocThreshold = 100; // Token: 0x0400046D RID: 1133 [Token(Token = "0x400046D")] private const int ShrinkThreshold = 3; // Token: 0x0400046E RID: 1134 [Token(Token = "0x400046E")] private const string CapacityName = "Capacity"; // Token: 0x0400046F RID: 1135 [Token(Token = "0x400046F")] private const string ElementsName = "Elements"; // Token: 0x04000470 RID: 1136 [Token(Token = "0x4000470")] private const string ComparerName = "Comparer"; // Token: 0x04000471 RID: 1137 [Token(Token = "0x4000471")] private const string VersionName = "Version"; // Token: 0x04000472 RID: 1138 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000472")] private int[] _buckets; // Token: 0x04000473 RID: 1139 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000473")] private HashSet.Slot[] _slots; // Token: 0x04000474 RID: 1140 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000474")] private int _count; // Token: 0x04000475 RID: 1141 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000475")] private int _lastIndex; // Token: 0x04000476 RID: 1142 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000476")] private int _freeList; // Token: 0x04000477 RID: 1143 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000477")] private IEqualityComparer _comparer; // Token: 0x04000478 RID: 1144 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000478")] private int _version; // Token: 0x04000479 RID: 1145 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000479")] private SerializationInfo _siInfo; // Token: 0x02000262 RID: 610 [Token(Token = "0x2000262")] internal struct ElementCount { // Token: 0x0400047A RID: 1146 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400047A")] internal int uniqueCount; // Token: 0x0400047B RID: 1147 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400047B")] internal int unfoundCount; } // Token: 0x02000263 RID: 611 [Token(Token = "0x2000263")] internal struct Slot { // Token: 0x0400047C RID: 1148 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400047C")] internal int hashCode; // Token: 0x0400047D RID: 1149 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400047D")] internal int next; // Token: 0x0400047E RID: 1150 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400047E")] internal T value; } /// Enumerates the elements of a object. // Token: 0x02000264 RID: 612 [Token(Token = "0x2000264")] [Serializable] public struct Enumerator : IEnumerator, IDisposable, IEnumerator { // Token: 0x06000C0D RID: 3085 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C0D")] [Address(RVA = "0x2BAF060", Offset = "0x2BADE60", VA = "0x182BAF060")] internal Enumerator(HashSet set) { } /// Releases all resources used by a object. // Token: 0x06000C0E RID: 3086 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C0E")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "5")] public void Dispose() { } /// Advances the enumerator to the next element of the collection. /// /// if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection. /// The collection was modified after the enumerator was created. // Token: 0x06000C0F RID: 3087 RVA: 0x00006588 File Offset: 0x00004788 [Token(Token = "0x6000C0F")] [Address(RVA = "0x2BACA00", Offset = "0x2BAB800", VA = "0x182BACA00", Slot = "6")] public bool MoveNext() { return default(bool); } /// Gets the element at the current position of the enumerator. /// The element in the collection at the current position of the enumerator. // Token: 0x17000252 RID: 594 // (get) Token: 0x06000C10 RID: 3088 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000252")] public T Current { [Token(Token = "0x6000C10")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")] get { return null; } } /// Gets the element at the current position of the enumerator. /// The element in the collection at the current position of the enumerator, as an . /// The enumerator is positioned before the first element of the collection or after the last element. // Token: 0x17000253 RID: 595 // (get) Token: 0x06000C11 RID: 3089 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000253")] object IEnumerator.Current { [Token(Token = "0x6000C11")] [Address(RVA = "0x2BAE5F0", Offset = "0x2BAD3F0", VA = "0x182BAE5F0", Slot = "7")] get { return null; } } /// Sets the enumerator to its initial position, which is before the first element in the collection. /// The collection was modified after the enumerator was created. // Token: 0x06000C12 RID: 3090 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C12")] [Address(RVA = "0x2BADB10", Offset = "0x2BAC910", VA = "0x182BADB10", Slot = "8")] void IEnumerator.Reset() { } // Token: 0x0400047F RID: 1151 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400047F")] private HashSet _set; // Token: 0x04000480 RID: 1152 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000480")] private int _index; // Token: 0x04000481 RID: 1153 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000481")] private int _version; // Token: 0x04000482 RID: 1154 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000482")] private T _current; } } }