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

◆ Add()

void System.Runtime.InteropServices.HandleCollector.Add ( )
inline

Definition at line 68 of file HandleCollector.cs.

69 {
70 long num = 0L;
71 int num2 = Interlocked.Increment(int.MinValue);
72 int num3 = this.handleCount;
73 int num4 = this.threshold;
74 Monitor.Enter(this, num != 0L);
75 int num5 = 26215;
76 int num6 = this.gc_gen;
77 long num7 = 0L;
80 int num8 = 5;
81 if (num3 != 0)
82 {
83 Monitor.Exit(this);
84 }
85 if (num7 == 0L)
86 {
87 if (num8 == 0)
88 {
89 int[] array;
90 if (num6 != 0)
91 {
92 array = this.gc_counts;
93 if (num5 == 0)
94 {
95 }
97 }
98 if (array == null)
99 {
100 }
101 GC.Collect(num6);
103 int[] array2 = this.gc_counts;
104 if (array == null)
105 {
106 }
107 int num10 = GC.CollectionCount(int.MinValue);
109 }
110 return;
111 }
112 throw new OutOfMemoryException();
113 }
class f__AnonymousType0<< Count > j__TPar
static int CollectionCount(int generation)
Definition GC.cs:79
static void Collect(int generation)
Definition GC.cs:46
static int Increment(int location)
static void Exit(object obj)
Definition Monitor.cs:47
static void Enter(object obj)
Definition Monitor.cs:11
static void Sleep(int millisecondsTimeout)
Definition Thread.cs:207

References System.array, System.GC.Collect(), System.GC.CollectionCount(), System.Threading.Monitor.Enter(), System.Threading.Monitor.Exit(), System.Runtime.InteropServices.HandleCollector.gc_counts, System.Runtime.InteropServices.HandleCollector.gc_gen, System.Runtime.InteropServices.HandleCollector.handleCount, System.Threading.Interlocked.Increment(), j__TPar, System.L, System.Threading.Thread.Sleep(), and System.Runtime.InteropServices.HandleCollector.threshold.