terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Collections.Generic.HashSet< T > Class Template Reference
+ Inheritance diagram for System.Collections.Generic.HashSet< T >:
+ Collaboration diagram for System.Collections.Generic.HashSet< T >:

Classes

struct  Enumerator
 
struct  Slot
 

Public Member Functions

 HashSet ()
 
 HashSet (IEqualityComparer< T > comparer)
 
 HashSet (IEnumerable< T > collection)
 
 HashSet (IEnumerable< T > collection, IEqualityComparer< T > comparer)
 
void Clear ()
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 
bool Remove (T item)
 
HashSet< T >.Enumerator GetEnumerator ()
 
virtual void GetObjectData (SerializationInfo info, StreamingContext context)
 
virtual void OnDeserialization (object sender)
 
bool Add (T item)
 
void UnionWith (IEnumerable< T > other)
 
void CopyTo (T[] array)
 
void CopyTo (T[] array, int arrayIndex, int count)
 
void TrimExcess ()
 

Protected Member Functions

 HashSet (SerializationInfo info, StreamingContext context)
 

Properties

int Count [get, set]
 
bool System.Collections.Generic.ICollection< T >. IsReadOnly [get, set]
 
IEqualityComparer< TComparer [get, set]
 

Private Member Functions

void CopyFrom (HashSet< T > source)
 
void System.Collections.Generic.ICollection< T >. Add (T item)
 
IEnumerator< T > System.Collections.Generic.IEnumerable< T >. GetEnumerator ()
 
IEnumerator System.Collections.IEnumerable. GetEnumerator ()
 
int Initialize (int capacity)
 
void IncreaseCapacity ()
 
void SetCapacity (int newSize)
 
bool AddIfNotPresent (T value)
 
void AddValue (int index, int hashCode, T value)
 
int InternalGetHashCode (T item)
 

Static Private Member Functions

static bool AreEqualityComparersEqual (HashSet< T > set1, HashSet< T > set2)
 

Private Attributes

int[] _buckets
 
HashSet< T >.Slot[] _slots
 
int _count
 
int _lastIndex
 
int _freeList
 
IEqualityComparer< T_comparer
 
int _version
 
SerializationInfo _siInfo
 

Static Private Attributes

const int Lower31BitMask = 2147483647
 
const int StackAllocThreshold = 100
 
const int ShrinkThreshold = 3
 
const string CapacityName = "Capacity"
 
const string ElementsName = "Elements"
 
const string ComparerName = "Comparer"
 
const string VersionName = "Version"
 

Detailed Description

Definition at line 14 of file HashSet.cs.


The documentation for this class was generated from the following file: