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

◆ TryAddInternal()

bool System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.TryAddInternal ( TKey key,
int hashcode,
TValue value,
bool updateIfExists,
bool acquireLock,
[Out] TValue resultingValue )
inlineprivate

Definition at line 240 of file ConcurrentDictionary.cs.

241 {
242 int num = 1;
244 ConcurrentDictionary.Node[] buckets = tables._buckets;
245 object[] locks = tables._locks;
246 if (num == 0)
247 {
248 }
249 object[] locks2 = tables._locks;
251 long num2 = 0L;
252 ConcurrentDictionary.Node[] buckets2 = tables._buckets;
253 long num3 = 0L;
255 if (num2 != 0L)
256 {
257 comparer = this._comparer;
258 }
259 ConcurrentDictionary.Node[] buckets3 = tables._buckets;
261 int[] countPerLock = tables._countPerLock;
262 int[] countPerLock2 = tables._countPerLock;
263 long num4 = 0L;
264 object[] locks3;
265 if (buckets3 != null)
266 {
267 locks3 = tables._locks;
268 }
269 if (num4 == 0L)
270 {
271 if (locks3 == null)
272 {
273 }
274 if (false)
275 {
276 }
277 ConcurrentDictionary.Node[] buckets4 = tables._buckets;
278 throw new OverflowException();
279 }
280 throw new OutOfMemoryException();
281 }
class f__AnonymousType0<< Count > j__TPar
readonly ConcurrentDictionary< TKey, TValue >.Node[] _buckets
ConcurrentDictionary< TKey, TValue >.Tables _tables

References System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >._comparer, System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >._tables, System.comparer, j__TPar, and System.L.