terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
AwaitTaskContinuation.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200024A")]
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6001417")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1CACD08", Offset = "0x1CACD08", Length = "0x80")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Task), Member = "SetContinuationForAwait", MemberParameters = new object[]
15 {
16 typeof(global::System.Action),
17 typeof(bool),
18 typeof(bool)
19 }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SynchronizationContextAwaitTaskContinuation), Member = ".ctor", MemberParameters = new object[]
21 {
23 typeof(global::System.Action),
24 typeof(bool)
25 }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TaskSchedulerAwaitTaskContinuation), Member = ".ctor", MemberParameters = new object[]
27 {
29 typeof(global::System.Action),
30 typeof(bool)
31 }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ExecutionContext), Member = "Capture", ReturnType = typeof(ExecutionContext))]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
36 internal AwaitTaskContinuation(global::System.Action action, bool flowExecutionContext)
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x6001418")]
42 [global::Cpp2ILInjected.Address(RVA = "0x1CAD72C", Offset = "0x1CAD72C", Length = "0x88")]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TaskSchedulerAwaitTaskContinuation), Member = "Run", MemberParameters = new object[]
44 {
45 typeof(Task),
46 typeof(bool)
47 }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = ".ctor", MemberParameters = new object[]
50 {
51 typeof(global::System.Delegate),
52 typeof(object),
53 typeof(Task),
55 typeof(TaskCreationOptions),
57 typeof(TaskScheduler)
58 }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
60 protected Task CreateTask(global::System.Action<object> action, object state, TaskScheduler scheduler)
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x6001419")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1CAD60C", Offset = "0x1CAD60C", Length = "0x120")]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AwaitTaskContinuation), Member = "get_IsValidLocationForInlining", ReturnType = typeof(bool))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ContextCallback), Member = ".ctor", MemberParameters = new object[]
70 {
71 typeof(object),
72 typeof(global::System.IntPtr)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AwaitTaskContinuation), Member = "RunCallback", MemberParameters = new object[]
75 {
77 typeof(object),
79 }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "UnsafeQueueCustomWorkItem", MemberParameters = new object[]
81 {
82 typeof(IThreadPoolWorkItem),
83 typeof(bool)
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
86 internal override void Run(Task ignored, bool canInlineContinuationTask)
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x170001F5")]
92 internal static bool IsValidLocationForInlining
93 {
94 [global::Cpp2ILInjected.Token(Token = "0x600141A")]
95 [global::Cpp2ILInjected.Address(RVA = "0x1CAD95C", Offset = "0x1CAD95C", Length = "0x134")]
96 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AwaitTaskContinuation), Member = "Run", MemberParameters = new object[]
98 {
99 typeof(Task),
100 typeof(bool)
101 }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AwaitTaskContinuation), Member = "RunOrScheduleAction", MemberParameters = new object[]
103 {
104 typeof(global::System.Action),
105 typeof(bool),
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "get_Current", ReturnType = typeof(SynchronizationContext))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Inequality", MemberParameters = new object[]
113 {
114 typeof(global::System.Type),
115 typeof(global::System.Type)
116 }, ReturnType = typeof(bool))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TaskScheduler), Member = "get_InternalCurrent", ReturnType = typeof(TaskScheduler))]
118 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
119 get
120 {
121 throw null;
122 }
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x600141B")]
126 [global::Cpp2ILInjected.Address(RVA = "0x1CADA90", Offset = "0x1CADA90", Length = "0x11C")]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ContextCallback), Member = ".ctor", MemberParameters = new object[]
129 {
130 typeof(object),
131 typeof(global::System.IntPtr)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ExecutionContext), Member = "Run", MemberParameters = new object[]
134 {
137 typeof(object)
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
141 {
142 throw null;
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x600141C")]
146 [global::Cpp2ILInjected.Address(RVA = "0x1CADBAC", Offset = "0x1CADBAC", Length = "0x68")]
147 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
150 private static void InvokeAction(object state)
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x600141D")]
156 [global::Cpp2ILInjected.Address(RVA = "0x1CADC14", Offset = "0x1CADC14", Length = "0xA0")]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ContextCallback), Member = ".ctor", MemberParameters = new object[]
159 {
160 typeof(object),
161 typeof(global::System.IntPtr)
162 }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
164 [MethodImpl(256)]
166 {
167 throw null;
168 }
169
170 [global::Cpp2ILInjected.Token(Token = "0x600141E")]
171 [global::Cpp2ILInjected.Address(RVA = "0x1CACF68", Offset = "0x1CACF68", Length = "0x174")]
172 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AwaitTaskContinuation), Member = "Run", MemberParameters = new object[]
174 {
175 typeof(Task),
176 typeof(bool)
177 }, ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "get_CurrentExplicit", ReturnType = typeof(SynchronizationContext))]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "SetSynchronizationContext", MemberParameters = new object[] { typeof(SynchronizationContext) }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AwaitTaskContinuation), Member = "ThrowAsyncIfNecessary", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(void))]
182 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
183 protected void RunCallback(ContextCallback callback, object state, ref Task currentTask)
184 {
185 throw null;
186 }
187
188 [global::Cpp2ILInjected.Token(Token = "0x600141F")]
189 [global::Cpp2ILInjected.Address(RVA = "0x1CAA2E8", Offset = "0x1CAA2E8", Length = "0x150")]
190 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
191 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Task), Member = "FinishContinuations", ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
193 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AwaitTaskContinuation), Member = "get_IsValidLocationForInlining", ReturnType = typeof(bool))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AwaitTaskContinuation), Member = "UnsafeScheduleAction", MemberParameters = new object[] { typeof(global::System.Action) }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AwaitTaskContinuation), Member = "ThrowAsyncIfNecessary", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
197 internal static void RunOrScheduleAction(global::System.Action action, bool allowInlining, ref Task currentTask)
198 {
199 throw null;
200 }
201
202 [global::Cpp2ILInjected.Token(Token = "0x6001420")]
203 [global::Cpp2ILInjected.Address(RVA = "0x1CA92C0", Offset = "0x1CA92C0", Length = "0x84")]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Task), Member = "SetContinuationForAwait", MemberParameters = new object[]
205 {
206 typeof(global::System.Action),
207 typeof(bool),
208 typeof(bool)
209 }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AwaitTaskContinuation), Member = "RunOrScheduleAction", MemberParameters = new object[]
211 {
212 typeof(global::System.Action),
213 typeof(bool),
215 }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "UnsafeQueueCustomWorkItem", MemberParameters = new object[]
219 {
220 typeof(IThreadPoolWorkItem),
221 typeof(bool)
222 }, ReturnType = typeof(void))]
223 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
224 internal static void UnsafeScheduleAction(global::System.Action action)
225 {
226 throw null;
227 }
228
229 [global::Cpp2ILInjected.Token(Token = "0x6001421")]
230 [global::Cpp2ILInjected.Address(RVA = "0x1CAD904", Offset = "0x1CAD904", Length = "0x58")]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AwaitTaskContinuation), Member = "RunCallback", MemberParameters = new object[]
232 {
234 typeof(object),
236 }, ReturnType = typeof(void))]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AwaitTaskContinuation), Member = "RunOrScheduleAction", MemberParameters = new object[]
238 {
239 typeof(global::System.Action),
240 typeof(bool),
242 }, ReturnType = typeof(void))]
243 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
244 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Internal.Runtime.Augments.RuntimeAugments), Member = "ReportUnhandledException", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
246 protected static void ThrowAsyncIfNecessary(global::System.Exception exc)
247 {
248 throw null;
249 }
250
251 [global::Cpp2ILInjected.Token(Token = "0x6001422")]
252 [global::Cpp2ILInjected.Address(RVA = "0x1CADCB4", Offset = "0x1CADCB4", Length = "0x4")]
253 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
255 {
256 throw null;
257 }
258
259 [global::Cpp2ILInjected.Token(Token = "0x4000AB1")]
260 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
262
263 [global::Cpp2ILInjected.Token(Token = "0x4000AB2")]
264 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
265 protected readonly global::System.Action m_action;
266
267 [global::Cpp2ILInjected.Token(Token = "0x4000AB3")]
269 }
270}
class f__AnonymousType0<< Count > j__TPar
Task CreateTask(global::System.Action< object > action, object state, TaskScheduler scheduler)
static void UnsafeScheduleAction(global::System.Action action)
static void RunOrScheduleAction(global::System.Action action, bool allowInlining, ref Task currentTask)
void RunCallback(ContextCallback callback, object state, ref Task currentTask)
static void ThrowAsyncIfNecessary(global::System.Exception exc)
override void Run(Task ignored, bool canInlineContinuationTask)
AwaitTaskContinuation(global::System.Action action, bool flowExecutionContext)
delegate void ContextCallback(object state)