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
AsyncOperation.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200032E RID: 814
8 public sealed class AsyncOperation
9 {
10 // Token: 0x06001532 RID: 5426 RVA: 0x0003FB0C File Offset: 0x0003DD0C
16
17 // Token: 0x06001533 RID: 5427 RVA: 0x0003FB30 File Offset: 0x0003DD30
18 protected override void Finalize()
19 {
20 if (this._alreadyCompleted || this._syncContext != null)
21 {
22 }
23 base.Finalize();
24 }
25
26 // Token: 0x170004D7 RID: 1239
27 // (get) Token: 0x06001534 RID: 5428 RVA: 0x0003FB74 File Offset: 0x0003DD74
28 public object UserSuppliedState
29 {
30 get
31 {
32 return this._userSuppliedState;
33 }
34 }
35
36 // Token: 0x170004D8 RID: 1240
37 // (get) Token: 0x06001535 RID: 5429 RVA: 0x0003FB88 File Offset: 0x0003DD88
39 {
40 get
41 {
42 return this._syncContext;
43 }
44 }
45
46 // Token: 0x06001536 RID: 5430 RVA: 0x0003FB9C File Offset: 0x0003DD9C
47 public void Post(SendOrPostCallback d, object arg)
48 {
49 long num = 0L;
50 this.PostCore(d, arg, num != 0L);
51 }
52
53 // Token: 0x06001537 RID: 5431 RVA: 0x0003FBB4 File Offset: 0x0003DDB4
55 {
56 this.PostCore(d, arg, true);
58 }
59
60 // Token: 0x06001538 RID: 5432 RVA: 0x0003FBD0 File Offset: 0x0003DDD0
61 public void OperationCompleted()
62 {
63 this.VerifyNotCompleted();
66 }
67
68 // Token: 0x06001539 RID: 5433 RVA: 0x0003FBF0 File Offset: 0x0003DDF0
76
77 // Token: 0x0600153A RID: 5434 RVA: 0x0003FC18 File Offset: 0x0003DE18
79 {
81 long num = 0L;
82 GC.SuppressFinalize(this);
83 if (num == 0L)
84 {
85 return;
86 }
87 throw new OutOfMemoryException();
88 }
89
90 // Token: 0x0600153B RID: 5435 RVA: 0x0003FC58 File Offset: 0x0003DE58
91 private void VerifyNotCompleted()
92 {
93 while (this._alreadyCompleted)
94 {
95 }
96 }
97
98 // Token: 0x0600153C RID: 5436 RVA: 0x0003FC70 File Offset: 0x0003DE70
100 {
101 while (d == null)
102 {
103 }
104 }
105
106 // Token: 0x0600153D RID: 5437 RVA: 0x00002050 File Offset: 0x00000250
108 {
109 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
110 }
111
112 // Token: 0x0600153E RID: 5438 RVA: 0x0003FC80 File Offset: 0x0003DE80
113 internal AsyncOperation()
114 {
115 throw new NotSupportedException();
116 }
117
118 // Token: 0x04001173 RID: 4467
120
121 // Token: 0x04001174 RID: 4468
123
124 // Token: 0x04001175 RID: 4469
125 private bool _alreadyCompleted;
126 }
127}
class f__AnonymousType0<< Count > j__TPar
void PostCore(SendOrPostCallback d, object arg, bool markCompleted)
void VerifyDelegateNotNull(SendOrPostCallback d)
readonly SynchronizationContext _syncContext
void PostOperationCompleted(SendOrPostCallback d, object arg)
AsyncOperation(object userSuppliedState, SynchronizationContext syncContext)
void Post(SendOrPostCallback d, object arg)
static AsyncOperation CreateOperation(object userSuppliedState, SynchronizationContext syncContext)
static void SuppressFinalize(object obj)
Definition GC.cs:116