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
Gen2GcCallback.cs
Go to the documentation of this file.
1using System;
4
5namespace System
6{
7 // Token: 0x020000AB RID: 171
8 internal sealed class Gen2GcCallback : CriticalFinalizerObject
9 {
10 // Token: 0x0600068B RID: 1675 RVA: 0x0000FB48 File Offset: 0x0000DD48
12 {
13 }
14
15 // Token: 0x0600068C RID: 1676 RVA: 0x0000FB5C File Offset: 0x0000DD5C
16 public static void Register(Func<object, bool> callback, object targetObj)
17 {
18 }
19
20 // Token: 0x0600068D RID: 1677 RVA: 0x0000FB6C File Offset: 0x0000DD6C
21 private void Setup(Func<object, bool> callback, object targetObj)
22 {
23 this._callback = callback;
26 }
27
28 // Token: 0x0600068E RID: 1678 RVA: 0x0000FB88 File Offset: 0x0000DD88
29 protected override void Finalize()
30 {
31 object obj;
32 if (obj != null)
33 {
34 Func<object, bool> callback = this._callback;
37 return;
38 }
39 base.Finalize();
40 }
41
42 // Token: 0x0400026D RID: 621
44
45 // Token: 0x0400026E RID: 622
47 }
48}
class f__AnonymousType0<< Count > j__TPar
static bool HasShutdownStarted
static void ReRegisterForFinalize(object obj)
Definition GC.cs:129
void Setup(Func< object, bool > callback, object targetObj)
Func< object, bool > _callback
override void Finalize()
static void Register(Func< object, bool > callback, object targetObj)