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
Task.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::System.Diagnostics.DebuggerDisplay("Id = {Id}, Status = {Status}, Method = {DebuggerDisplayMethodDescription}, Result = {DebuggerDisplayResultDescription}")]
10 [global::System.Diagnostics.DebuggerTypeProxy(typeof(SystemThreadingTasks_FutureDebugView<>))]
11 [global::Cpp2ILInjected.Token(Token = "0x200022A")]
12 public class Task<TResult> : Task
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x6001336")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1875AB4", Offset = "0x1875AB4", Length = "0x58")]
16 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = ".ctor", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
20 internal Task()
21 {
22 throw null;
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x6001337")]
26 [global::Cpp2ILInjected.Address(RVA = "0x1875B0C", Offset = "0x1875B0C", Length = "0x74")]
27 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = ".ctor", MemberParameters = new object[]
30 {
31 typeof(object),
33 typeof(bool)
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x6001338")]
42 [global::Cpp2ILInjected.Address(RVA = "0x1875B80", Offset = "0x1875B80", Length = "0x78")]
43 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
44 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = ".ctor", MemberParameters = new object[]
46 {
47 typeof(bool),
50 }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
52 internal Task(TResult result)
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x6001339")]
58 [global::Cpp2ILInjected.Address(RVA = "0x1875BF8", Offset = "0x1875BF8", Length = "0x90")]
59 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = ".ctor", MemberParameters = new object[]
62 {
63 typeof(bool),
66 }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
69 {
70 throw null;
71 }
72
73 [global::Cpp2ILInjected.Token(Token = "0x600133A")]
74 [global::Cpp2ILInjected.Address(RVA = "0x1875C88", Offset = "0x1875C88", Length = "0xC8")]
75 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
76 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "InternalCurrentIfAttached", MemberParameters = new object[] { typeof(TaskCreationOptions) }, ReturnType = typeof(Task))]
79 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
80 public Task(global::System.Func<object, TResult> function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
81 {
82 throw null;
83 }
84
85 [global::Cpp2ILInjected.Token(Token = "0x600133B")]
86 [global::Cpp2ILInjected.Address(RVA = "0x1875D50", Offset = "0x1875D50", Length = "0xB0")]
87 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = ".ctor", MemberParameters = new object[]
90 {
91 typeof(global::System.Delegate),
92 typeof(object),
93 typeof(Task),
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
101 {
102 throw null;
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x600133C")]
106 [global::Cpp2ILInjected.Address(RVA = "0x1875E00", Offset = "0x1875E00", Length = "0xB0")]
107 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = ".ctor", MemberParameters = new object[]
110 {
111 typeof(global::System.Delegate),
112 typeof(object),
113 typeof(Task),
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
121 {
122 throw null;
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x600133D")]
126 [global::Cpp2ILInjected.Address(RVA = "0x1875EB0", Offset = "0x1875EB0", Length = "0x164")]
127 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
128 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "ScheduleAndStart", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x600133E")]
139 [global::Cpp2ILInjected.Address(RVA = "0x1876014", Offset = "0x1876014", Length = "0x178")]
140 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
141 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "ScheduleAndStart", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
147 {
148 throw null;
149 }
150
151 [global::Cpp2ILInjected.Token(Token = "0x600133F")]
152 [global::Cpp2ILInjected.Address(RVA = "0x187618C", Offset = "0x187618C", Length = "0x94")]
153 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
154 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "get_IsCompleted", ReturnType = typeof(bool))]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "AtomicStateUpdate", MemberParameters = new object[]
157 {
158 typeof(int),
159 typeof(int)
160 }, ReturnType = typeof(bool))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interlocked), Member = "Exchange", MemberParameters = new object[]
162 {
163 typeof(ref int),
164 typeof(int)
165 }, ReturnType = typeof(int))]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task.ContingentProperties), Member = "SetCompleted", ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "FinishStageThree", ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
169 internal bool TrySetResult(TResult result)
170 {
171 throw null;
172 }
173
174 [global::Cpp2ILInjected.Token(Token = "0x6001340")]
175 [global::Cpp2ILInjected.Address(RVA = "0x1876220", Offset = "0x1876220", Length = "0x58")]
176 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
177 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
178 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
179 internal void DangerousSetResult(TResult result)
180 {
181 throw null;
182 }
183
184 [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
185 [global::Cpp2ILInjected.Token(Token = "0x170001D3")]
187 {
188 [global::Cpp2ILInjected.Token(Token = "0x6001341")]
189 [global::Cpp2ILInjected.Address(RVA = "0x1876278", Offset = "0x1876278", Length = "0x60")]
190 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
191 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
192 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
193 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
194 get
195 {
196 throw null;
197 }
198 }
199
200 [global::Cpp2ILInjected.Token(Token = "0x170001D4")]
202 {
203 [global::Cpp2ILInjected.Token(Token = "0x6001342")]
204 [global::Cpp2ILInjected.Address(RVA = "0x18762D8", Offset = "0x18762D8", Length = "0x8")]
205 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
206 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
207 get
208 {
209 throw null;
210 }
211 }
212
213 [global::Cpp2ILInjected.Token(Token = "0x6001343")]
214 [global::Cpp2ILInjected.Address(RVA = "0x18762E0", Offset = "0x18762E0", Length = "0x70")]
215 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
216 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "get_IsCompleted", ReturnType = typeof(bool))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "InternalWait", MemberParameters = new object[]
219 {
220 typeof(int),
222 }, ReturnType = typeof(bool))]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "NotifyDebuggerOfWaitCompletionIfNecessary", ReturnType = typeof(bool))]
224 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "get_IsCompletedSuccessfully", ReturnType = typeof(bool))]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "ThrowIfExceptional", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
227 {
228 throw null;
229 }
230
231 [global::Cpp2ILInjected.Token(Token = "0x170001D5")]
233 {
234 [global::Cpp2ILInjected.Token(Token = "0x6001344")]
235 [global::Cpp2ILInjected.Address(RVA = "0x1876350", Offset = "0x1876350", Length = "0x124")]
236 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
237 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
239 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
240 get
241 {
242 throw null;
243 }
244 }
245
246 [global::Cpp2ILInjected.Token(Token = "0x6001345")]
247 [global::Cpp2ILInjected.Address(RVA = "0x1876474", Offset = "0x1876474", Length = "0xB0")]
248 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
249 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
250 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
251 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
252 internal override void InnerInvoke()
253 {
254 throw null;
255 }
256
257 [global::Cpp2ILInjected.Token(Token = "0x6001346")]
258 [global::Cpp2ILInjected.Address(RVA = "0x1876524", Offset = "0x1876524", Length = "0x4")]
259 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
260 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
261 public new global::System.Runtime.CompilerServices.TaskAwaiter<TResult> GetAwaiter()
262 {
263 throw null;
264 }
265
266 [global::Cpp2ILInjected.Token(Token = "0x6001347")]
267 [global::Cpp2ILInjected.Address(RVA = "0x1876528", Offset = "0x1876528", Length = "0x3C")]
268 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
269 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.AsyncProtocolRequest.<ProcessOperation>d__24", Member = "MoveNext", ReturnType = typeof(void))]
270 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
271 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable<>), Member = ".ctor", MemberParameters = new object[]
272 {
273 "System.Threading.Tasks.Task`1<TResult>",
274 typeof(bool)
275 }, ReturnType = typeof(void))]
276 public new global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable<TResult> ConfigureAwait(bool continueOnCapturedContext)
277 {
278 throw null;
279 }
280
281 [global::Cpp2ILInjected.Token(Token = "0x6001348")]
282 [global::Cpp2ILInjected.Address(RVA = "0x1876564", Offset = "0x1876564", Length = "0x1C")]
283 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
284 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
285 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
286 public Task ContinueWith(global::System.Action<Task<TResult>> continuationAction, TaskScheduler scheduler)
287 {
288 throw null;
289 }
290
291 [global::Cpp2ILInjected.Token(Token = "0x6001349")]
292 [global::Cpp2ILInjected.Address(RVA = "0x1876580", Offset = "0x1876580", Length = "0x170")]
293 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
294 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
295 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "CreationOptionsFromContinuationOptions", MemberParameters = new object[]
297 {
301 }, ReturnType = typeof(void))]
302 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "ContinueWithCore", MemberParameters = new object[]
303 {
304 typeof(Task),
305 typeof(TaskScheduler),
307 typeof(TaskContinuationOptions)
308 }, ReturnType = typeof(void))]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
310 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
312 {
313 throw null;
314 }
315
316 [global::Cpp2ILInjected.Token(Token = "0x600134A")]
317 [global::Cpp2ILInjected.Address(RVA = "0x14C57E4", Offset = "0x14C57E4", Length = "0x94")]
318 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
319 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
320 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TaskScheduler), Member = "get_Current", ReturnType = typeof(TaskScheduler))]
321 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
326
327 [global::Cpp2ILInjected.Token(Token = "0x600134B")]
328 [global::Cpp2ILInjected.Address(RVA = "0x14C5878", Offset = "0x14C5878", Length = "0x168")]
329 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
330 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
331 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
332 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "CreationOptionsFromContinuationOptions", MemberParameters = new object[]
333 {
337 }, ReturnType = typeof(void))]
338 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Task), Member = "ContinueWithCore", MemberParameters = new object[]
339 {
340 typeof(Task),
341 typeof(TaskScheduler),
343 typeof(TaskContinuationOptions)
344 }, ReturnType = typeof(void))]
345 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
346 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
351
352 [global::Cpp2ILInjected.Token(Token = "0x4000A3E")]
353 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
355
356 [global::Cpp2ILInjected.Token(Token = "0x4000A3F")]
358 }
359}
class f__AnonymousType0<< Count > j__TPar
new global::System.Runtime.CompilerServices.TaskAwaiter< TResult > GetAwaiter()
Definition Task.cs:261
Task(global::System.Func< object, TResult > function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
Definition Task.cs:80
Task(bool canceled, TResult result, TaskCreationOptions creationOptions, CancellationToken ct)
Definition Task.cs:68
bool TrySetResult(TResult result)
Definition Task.cs:169
static TaskFactory Factory
Definition Task.2.cs:1039
Task ContinueWith(global::System.Action< Task< TResult > > continuationAction, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions)
Definition Task.cs:311
Task(TResult result)
Definition Task.cs:52
void DangerousSetResult(TResult result)
Definition Task.cs:179
Task(object state, TaskCreationOptions options)
Definition Task.cs:36
static TaskFactory< TResult > s_defaultFactory
Definition Task.cs:357
new global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:276
Task< TNewResult > ContinueWith< TNewResult >(global::System.Func< Task< TResult >, TNewResult > continuationFunction, TaskContinuationOptions continuationOptions)
Definition Task.cs:322
TResult GetResultCore(bool waitCompletionNotification)
Definition Task.cs:226
static Task< TResult > StartNew(Task parent, global::System.Func< TResult > function, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
Definition Task.cs:133
Task ContinueWith(global::System.Action< Task< TResult > > continuationAction, TaskScheduler scheduler)
Definition Task.cs:286
override void InnerInvoke()
Definition Task.cs:252
Task(global::System.Func< TResult > valueSelector, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
Definition Task.cs:100
Task(global::System.Delegate valueSelector, object state, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
Definition Task.cs:120
static Task< TResult > StartNew(Task parent, global::System.Func< object, TResult > function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
Definition Task.cs:146