607 lines
28 KiB
C#
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: 0x02000261 RID: 609
|
|
[Token(Token = "0x2000261")]
|
|
[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: 0x06000BE6 RID: 3046 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE6")]
|
|
[Address(RVA = "0x2BBB260", Offset = "0x2BBA060", VA = "0x182BBB260")]
|
|
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: 0x06000BE7 RID: 3047 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE7")]
|
|
[Address(RVA = "0x2BBB2C0", Offset = "0x2BBA0C0", VA = "0x182BBB2C0")]
|
|
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: 0x06000BE8 RID: 3048 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE8")]
|
|
[Address(RVA = "0x2BBB570", Offset = "0x2BBA370", VA = "0x182BBB570")]
|
|
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: 0x06000BE9 RID: 3049 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE9")]
|
|
[Address(RVA = "0x2BBB7E0", Offset = "0x2BBA5E0", VA = "0x182BBB7E0")]
|
|
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: 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<T> source)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BEC RID: 3052 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BEC")]
|
|
[Address(RVA = "0x2BB4110", Offset = "0x2BB2F10", VA = "0x182BB4110", 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: 0x06000BED RID: 3053 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BED")]
|
|
[Address(RVA = "0x2BB4DE0", Offset = "0x2BB3BE0", VA = "0x182BB4DE0", 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: 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);
|
|
}
|
|
|
|
/// <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: 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)
|
|
{
|
|
}
|
|
|
|
/// <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: 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);
|
|
}
|
|
|
|
/// <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: 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<T>.IsReadOnly
|
|
{
|
|
[Token(Token = "0x6000BF2")]
|
|
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x06000BF3 RID: 3059 RVA: 0x000064B0 File Offset: 0x000046B0
|
|
[Token(Token = "0x6000BF3")]
|
|
[Address(RVA = "0x34737A0", Offset = "0x34725A0", VA = "0x1834737A0")]
|
|
public HashSet<T>.Enumerator GetEnumerator()
|
|
{
|
|
return default(HashSet<T>.Enumerator);
|
|
}
|
|
|
|
// Token: 0x06000BF4 RID: 3060 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000BF4")]
|
|
[Address(RVA = "0x2BBA500", Offset = "0x2BB9300", VA = "0x182BBA500", 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: 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;
|
|
}
|
|
|
|
/// <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: 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)
|
|
{
|
|
}
|
|
|
|
/// <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: 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)
|
|
{
|
|
}
|
|
|
|
/// <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: 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);
|
|
}
|
|
|
|
/// <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: 0x06000BF9 RID: 3065 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BF9")]
|
|
[Address(RVA = "0x2BBB060", Offset = "0x2BB9E60", VA = "0x182BBB060", 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: 0x06000BFA RID: 3066 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BFA")]
|
|
[Address(RVA = "0x2BB8910", Offset = "0x2BB7710", VA = "0x182BB8910", 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: 0x06000BFB RID: 3067 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BFB")]
|
|
[Address(RVA = "0x2BB6540", Offset = "0x2BB5340", VA = "0x182BB6540", 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: 0x06000BFC RID: 3068 RVA: 0x000064E0 File Offset: 0x000046E0
|
|
[Token(Token = "0x6000BFC")]
|
|
[Address(RVA = "0x2BBA120", Offset = "0x2BB8F20", VA = "0x182BBA120", 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: 0x06000BFD RID: 3069 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BFD")]
|
|
[Address(RVA = "0x2BB6080", Offset = "0x2BB4E80", VA = "0x182BB6080")]
|
|
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: 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)
|
|
{
|
|
}
|
|
|
|
/// <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: 0x17000251 RID: 593
|
|
// (get) Token: 0x06000BFF RID: 3071 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000251")]
|
|
public IEqualityComparer<T> Comparer
|
|
{
|
|
[Token(Token = "0x6000BFF")]
|
|
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
|
|
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: 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<T> 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<T> other)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000C08 RID: 3080 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C08")]
|
|
[Address(RVA = "0x2BB81F0", Offset = "0x2BB6FF0", VA = "0x182BB81F0")]
|
|
private void IntersectWithEnumerable(IEnumerable<T> 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<T>.ElementCount CheckUniqueAndUnfoundElements(IEnumerable<T> other, bool returnIfUnfound)
|
|
{
|
|
return default(HashSet<T>.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<T> set1, HashSet<T> 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<T>.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<T> _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;
|
|
}
|
|
|
|
/// <summary>Enumerates the elements of a <see cref="T:System.Collections.Generic.HashSet`1" /> object.</summary>
|
|
// Token: 0x02000264 RID: 612
|
|
[Token(Token = "0x2000264")]
|
|
[Serializable]
|
|
public struct Enumerator : IEnumerator<T>, IDisposable, IEnumerator
|
|
{
|
|
// Token: 0x06000C0D RID: 3085 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C0D")]
|
|
[Address(RVA = "0x2BAF060", Offset = "0x2BADE60", VA = "0x182BAF060")]
|
|
internal Enumerator(HashSet<T> set)
|
|
{
|
|
}
|
|
|
|
/// <summary>Releases all resources used by a <see cref="T:System.Collections.Generic.HashSet`1.Enumerator" /> object.</summary>
|
|
// Token: 0x06000C0E RID: 3086 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C0E")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", 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: 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);
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
}
|
|
|
|
/// <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: 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<T> _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;
|
|
}
|
|
}
|
|
}
|