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

◆ MoveNext()

bool System.Runtime.CompilerServices.ConditionalWeakTable< TKey, TValue >.Enumerator.MoveNext ( )
inline

Implements System.Collections.IEnumerator.

Definition at line 231 of file ConditionalWeakTable.cs.

232 {
233 int num = 1;
234 ConditionalWeakTable table = this._table;
235 object @lock;
236 Ephemeron[] data;
237 if (table != null)
238 {
239 @lock = table._lock;
240 if (num == 0)
241 {
242 }
243 data = table.data;
244 int currentIndex = this._currentIndex;
245 this._currentIndex = currentIndex;
246 if (data.value == null)
247 {
248 throw new InvalidCastException();
249 }
250 if (table != null && table == null)
251 {
252 throw new InvalidCastException();
253 }
254 }
255 long num2 = 0L;
256 if (data != null)
257 {
258 Monitor.Exit(@lock);
259 }
260 if (num2 == 0L)
261 {
262 }
263 throw new OutOfMemoryException();
264 }
class f__AnonymousType0<< Count > j__TPar
static void Exit(object obj)
Definition Monitor.cs:47

References System.Runtime.CompilerServices.ConditionalWeakTable< TKey, TValue >.Enumerator._currentIndex, System.Runtime.CompilerServices.ConditionalWeakTable< TKey, TValue >._lock, System.Runtime.CompilerServices.ConditionalWeakTable< TKey, TValue >.Enumerator._table, System.Runtime.CompilerServices.ConditionalWeakTable< TKey, TValue >.data, System.Threading.Monitor.Exit(), j__TPar, System.L, and System.Runtime.CompilerServices.Ephemeron.value.