terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue > Class Template Reference
+ Inheritance diagram for System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >:

Classes

class  DictionaryEnumerator
 
class  Node
 
class  Tables
 

Public Member Functions

 ConcurrentDictionary ()
 
 ConcurrentDictionary (IEqualityComparer< TKey > comparer)
 
bool TryAdd (TKey key, TValue value)
 
bool ContainsKey (TKey key)
 
bool TryRemove (TKey key, [Out] TValue value)
 
bool TryGetValue (TKey key, [Out] TValue value)
 
void Clear ()
 
KeyValuePair< TKey, TValue >[] ToArray ()
 
IEnumerator< KeyValuePair< TKey, TValue > > GetEnumerator ()
 
TValue GetOrAdd (TKey key, Func< TKey, TValue > valueFactory)
 
TValue GetOrAdd (TKey key, TValue value)
 

Package Functions

 ConcurrentDictionary (int concurrencyLevel, int capacity, bool growLockArray, IEqualityComparer< TKey > comparer)
 

Properties

TValue this[TKey key] [get, set]
 
int Count [get]
 
ICollection< TKey > Keys [get]
 
ICollection< TValueValues [get]
 
bool ICollection< KeyValuePair< TKey, TValue > >. IsReadOnly [get]
 
bool IDictionary. IsFixedSize [get]
 
bool IDictionary. IsReadOnly [get]
 
ICollection IDictionary. Keys [get]
 
ICollection IDictionary. Values [get]
 
object IDictionary. this[object key] [get, set]
 
bool ICollection. IsSynchronized [get]
 
object ICollection. SyncRoot [get]
 
static int DefaultConcurrencyLevel [get]
 
class< GetEnumeratorIEnumerator [set]
 

Private Member Functions

void InitializeFromCollection (IEnumerable< KeyValuePair< TKey, TValue > > collection)
 
bool TryRemoveInternal (TKey key, [Out] TValue value, bool matchValue, TValue oldValue)
 
bool TryGetValueInternal (TKey key, int hashcode, [Out] TValue value)
 
void ICollection< KeyValuePair< TKey, TValue > >. CopyTo (KeyValuePair< TKey, TValue >[] array, int index)
 
void CopyToPairs (KeyValuePair< TKey, TValue >[] array, int index)
 
void CopyToEntries (DictionaryEntry[] array, int index)
 
void CopyToObjects (object[] array, int index)
 
bool TryAddInternal (TKey key, int hashcode, TValue value, bool updateIfExists, bool acquireLock, [Out] TValue resultingValue)
 
int GetCountInternal ()
 
void IDictionary< TKey, TValue >. Add (TKey key, TValue value)
 
bool IDictionary< TKey, TValue >. Remove (TKey key)
 
void ICollection< KeyValuePair< TKey, TValue > >. Add (KeyValuePair< TKey, TValue > keyValuePair)
 
bool ICollection< KeyValuePair< TKey, TValue > >. Contains (KeyValuePair< TKey, TValue > keyValuePair)
 
bool ICollection< KeyValuePair< TKey, TValue > >. Remove (KeyValuePair< TKey, TValue > keyValuePair)
 
IEnumerator IEnumerable. GetEnumerator ()
 
void IDictionary. Add (object key, object value)
 
bool IDictionary. Contains (object key)
 
IDictionaryEnumerator IDictionary. GetEnumerator ()
 
void IDictionary. Remove (object key)
 
void ICollection. CopyTo (Array array, int index)
 
void GrowTable (ConcurrentDictionary< TKey, TValue >.Tables tables)
 
void AcquireAllLocks (int locksAcquired)
 
void AcquireLocks (int fromInclusive, int toExclusive, int locksAcquired)
 
void ReleaseLocks (int fromInclusive, int toExclusive)
 
ReadOnlyCollection< TKey > GetKeys ()
 
ReadOnlyCollection< TValueGetValues ()
 
void OnSerializing (StreamingContext context)
 
void OnSerialized (StreamingContext context)
 
void OnDeserialized (StreamingContext context)
 

Static Private Member Functions

static bool IsValueWriteAtomic ()
 
static void ThrowKeyNotFoundException (object key)
 
static void ThrowKeyNullException ()
 
static int GetBucket (int hashcode, int bucketCount)
 
static void GetBucketAndLockNo (int hashcode, [Out] int bucketNo, [Out] int lockNo, int bucketCount, int lockCount)
 
static ConcurrentDictionary ()
 

Private Attributes

ConcurrentDictionary< TKey, TValue >.Tables _tables
 
IEqualityComparer< TKey > _comparer
 
readonly bool _growLockArray
 
int _budget
 
KeyValuePair< TKey, TValue >[] _serializationArray
 
int _serializationConcurrencyLevel
 
int _serializationCapacity
 
class< GetEnumeratord__35: IEnumerator<KeyValuePair<TKey
 
class< GetEnumeratorTValue
 
class< GetEnumeratorIDisposable
 

Static Private Attributes

static readonly bool s_isValueWriteAtomic
 

Detailed Description

Definition at line 17 of file ConcurrentDictionary.cs.


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