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: 0x0200027F RID: 639 [Token(Token = "0x200027F")] [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: 0x06000CFD RID: 3325 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000CFD")] [Address(RVA = "0x330FBB0", Offset = "0x330EBB0", VA = "0x18330FBB0")] 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: 0x06000CFE RID: 3326 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000CFE")] [Address(RVA = "0x330FE80", Offset = "0x330EE80", VA = "0x18330FE80")] 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: 0x06000CFF RID: 3327 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000CFF")] [Address(RVA = "0x330FC10", Offset = "0x330EC10", VA = "0x18330FC10")] 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: 0x06000D00 RID: 3328 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D00")] [Address(RVA = "0x3310730", Offset = "0x330F730", VA = "0x183310730")] 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: 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 source) { } // Token: 0x06000D03 RID: 3331 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D03")] [Address(RVA = "0x32FFBA0", Offset = "0x32FEBA0", VA = "0x1832FFBA0", Slot = "6")] void ICollection.Add(T item) { } /// Removes all elements from a object. // Token: 0x06000D04 RID: 3332 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D04")] [Address(RVA = "0x33017B0", Offset = "0x33007B0", VA = "0x1833017B0", 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: 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); } /// 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: 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) { } /// 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: 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); } /// Gets the number of elements that are contained in a set. /// The number of elements that are contained in the set. // 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.IsReadOnly { [Token(Token = "0x6000D09")] [Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "5")] get { return default(bool); } } /// Returns an enumerator that iterates through a object. /// A object for the object. // Token: 0x06000D0A RID: 3338 RVA: 0x00006978 File Offset: 0x00004B78 [Token(Token = "0x6000D0A")] [Address(RVA = "0x3A52910", Offset = "0x3A51910", VA = "0x183A52910")] public HashSet.Enumerator GetEnumerator() { return default(HashSet.Enumerator); } // Token: 0x06000D0B RID: 3339 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000D0B")] [Address(RVA = "0x330DD60", Offset = "0x330CD60", VA = "0x18330DD60", 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: 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; } /// 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: 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) { } /// 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: 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) { } /// 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: 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); } /// 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: 0x06000D10 RID: 3344 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D10")] [Address(RVA = "0x330F7B0", Offset = "0x330E7B0", VA = "0x18330F7B0", 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: 0x06000D11 RID: 3345 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D11")] [Address(RVA = "0x3309FA0", Offset = "0x3308FA0", VA = "0x183309FA0", 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: 0x06000D12 RID: 3346 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D12")] [Address(RVA = "0x3304B10", Offset = "0x3303B10", VA = "0x183304B10", 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: 0x06000D13 RID: 3347 RVA: 0x000069A8 File Offset: 0x00004BA8 [Token(Token = "0x6000D13")] [Address(RVA = "0x330D700", Offset = "0x330C700", VA = "0x18330D700", 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: 0x06000D14 RID: 3348 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D14")] [Address(RVA = "0x3303DD0", Offset = "0x3302DD0", VA = "0x183303DD0")] 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: 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) { } /// 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: 0x1700028C RID: 652 // (get) Token: 0x06000D16 RID: 3350 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700028C")] public IEqualityComparer Comparer { [Token(Token = "0x6000D16")] [Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")] 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: 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 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 other) { } // Token: 0x06000D1F RID: 3359 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D1F")] [Address(RVA = "0x3308C70", Offset = "0x3307C70", VA = "0x183308C70")] private void IntersectWithEnumerable(IEnumerable 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.ElementCount CheckUniqueAndUnfoundElements(IEnumerable other, bool returnIfUnfound) { return default(HashSet.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 set1, HashSet 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.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 _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; } /// Enumerates the elements of a object. // Token: 0x02000282 RID: 642 [Token(Token = "0x2000282")] [Serializable] public struct Enumerator : IEnumerator, IDisposable, IEnumerator { // Token: 0x06000D24 RID: 3364 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D24")] [Address(RVA = "0x32FE140", Offset = "0x32FD140", VA = "0x1832FE140")] internal Enumerator(HashSet set) { } /// Releases all resources used by a object. // Token: 0x06000D25 RID: 3365 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D25")] [Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 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); } /// Gets the element at the current position of the enumerator. /// The element in the collection at the current position of the enumerator. // 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; } } /// 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: 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; } } /// 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: 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 _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; } } }