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
CriticalHandle.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x0200044D RID: 1101
8 {
9 // Token: 0x0600217A RID: 8570 RVA: 0x0004C1D8 File Offset: 0x0004A3D8
10 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
15
16 // Token: 0x0600217B RID: 8571 RVA: 0x0004C1F4 File Offset: 0x0004A3F4
17 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
18 protected override void Finalize()
19 {
20 base.Finalize();
21 }
22
23 // Token: 0x0600217C RID: 8572 RVA: 0x0004C228 File Offset: 0x0004A428
24 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
25 private void Cleanup()
26 {
27 if (!this._isClosed)
28 {
29 this._isClosed = true;
30 }
31 }
32
33 // Token: 0x0600217D RID: 8573 RVA: 0x0004C24C File Offset: 0x0004A44C
34 private static void FireCustomerDebugProbe()
35 {
36 }
37
38 // Token: 0x0600217E RID: 8574 RVA: 0x0004C25C File Offset: 0x0004A45C
39 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
40 protected void SetHandle(IntPtr handle)
41 {
43 }
44
45 // Token: 0x17000458 RID: 1112
46 // (get) Token: 0x0600217F RID: 8575 RVA: 0x0004C270 File Offset: 0x0004A470
47 public bool IsClosed
48 {
49 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
50 get
51 {
52 return this._isClosed;
53 }
54 }
55
56 // Token: 0x17000459 RID: 1113
57 // (get) Token: 0x06002180 RID: 8576
58 public abstract bool IsInvalid
59 {
60 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
61 get;
62 }
63
64 // Token: 0x06002181 RID: 8577 RVA: 0x0004C284 File Offset: 0x0004A484
65 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
66 public void Dispose()
67 {
68 }
69
70 // Token: 0x06002182 RID: 8578 RVA: 0x0004C294 File Offset: 0x0004A494
71 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
72 protected virtual void Dispose(bool disposing)
73 {
74 this.Cleanup();
75 }
76
77 // Token: 0x06002183 RID: 8579
78 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
79 protected abstract bool ReleaseHandle();
80
81 // Token: 0x0400127B RID: 4731
82 protected IntPtr handle;
83
84 // Token: 0x0400127C RID: 4732
85 private bool _isClosed;
86 }
87}
class f__AnonymousType0<< Count > j__TPar