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
CancellationToken.cs
Go to the documentation of this file.
1using System;
3using System.IO;
11
12namespace System.Threading
13{
14 [global::System.Diagnostics.DebuggerDisplay("IsCancellationRequested = {IsCancellationRequested}")]
15 [global::Cpp2ILInjected.Token(Token = "0x20001C9")]
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x17000187")]
19 public static CancellationToken None
20 {
21 [global::Cpp2ILInjected.Token(Token = "0x60010CE")]
22 [global::Cpp2ILInjected.Address(RVA = "0x1C94604", Offset = "0x1C94604", Length = "0x8")]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.CryptoStream), Member = "BeginRead", MemberParameters = new object[]
24 {
25 typeof(byte[]),
26 typeof(int),
27 typeof(int),
28 typeof(global::System.AsyncCallback),
29 typeof(object)
30 }, ReturnType = typeof(global::System.IAsyncResult))]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.CryptoStream), Member = "BeginWrite", MemberParameters = new object[]
32 {
33 typeof(byte[]),
34 typeof(int),
35 typeof(int),
36 typeof(global::System.AsyncCallback),
37 typeof(object)
38 }, ReturnType = typeof(global::System.IAsyncResult))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Stream.ReadWriteTask", Member = ".ctor", MemberParameters = new object[]
40 {
41 typeof(bool),
42 typeof(bool),
43 typeof(global::System.Func<object, int>),
44 typeof(object),
45 typeof(global::System.IO.Stream),
46 typeof(byte[]),
47 typeof(int),
48 typeof(int),
49 typeof(global::System.AsyncCallback)
50 }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Stream), Member = "ReadAsync", MemberParameters = new object[]
52 {
53 typeof(byte[]),
54 typeof(int),
55 typeof(int)
56 }, ReturnType = typeof(global::System.Threading.Tasks.Task<int>))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Stream), Member = "WriteAsync", MemberParameters = new object[]
58 {
59 typeof(byte[]),
60 typeof(int),
61 typeof(int)
62 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MobileAuthenticatedStream", Member = "AuthenticateAsClient", MemberParameters = new object[]
64 {
65 typeof(string),
66 "System.Security.Cryptography.X509Certificates.X509CertificateCollection",
67 "System.Security.Authentication.SslProtocols",
68 typeof(bool)
69 }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MobileAuthenticatedStream", Member = "AuthenticateAsServer", MemberParameters = new object[]
71 {
72 typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate),
73 typeof(bool),
74 "System.Security.Authentication.SslProtocols",
75 typeof(bool)
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MobileAuthenticatedStream", Member = "AuthenticateAsClientAsync", MemberParameters = new object[]
78 {
79 typeof(string),
80 "System.Security.Cryptography.X509Certificates.X509CertificateCollection",
81 "System.Security.Authentication.SslProtocols",
82 typeof(bool)
83 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MobileAuthenticatedStream", Member = "Read", MemberParameters = new object[]
85 {
86 "System.Byte[]",
87 typeof(int),
88 typeof(int)
89 }, ReturnType = typeof(int))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MobileAuthenticatedStream", Member = "Write", MemberParameters = new object[]
91 {
92 "System.Byte[]",
93 typeof(int),
94 typeof(int)
95 }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.ServicePointScheduler.AsyncManualResetEvent", Member = "Set", ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebConnectionStream", Member = "Read", MemberParameters = new object[]
98 {
99 "System.Byte[]",
100 typeof(int),
101 typeof(int)
102 }, ReturnType = typeof(int))]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebConnectionStream", Member = "BeginRead", MemberParameters = new object[]
104 {
105 "System.Byte[]",
106 typeof(int),
107 typeof(int),
108 typeof(global::System.AsyncCallback),
109 typeof(object)
110 }, ReturnType = typeof(global::System.IAsyncResult))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebConnectionStream", Member = "BeginWrite", MemberParameters = new object[]
112 {
113 "System.Byte[]",
114 typeof(int),
115 typeof(int),
116 typeof(global::System.AsyncCallback),
117 typeof(object)
118 }, ReturnType = typeof(global::System.IAsyncResult))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebOperation", Member = "ThrowIfDisposed", ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebOperation", Member = "ThrowIfClosedOrDisposed", ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebReadStream", Member = "Read", MemberParameters = new object[]
122 {
123 "System.Byte[]",
124 typeof(int),
125 typeof(int)
126 }, ReturnType = typeof(int))]
127 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebReadStream", Member = "BeginRead", MemberParameters = new object[]
128 {
129 "System.Byte[]",
130 typeof(int),
131 typeof(int),
132 typeof(global::System.AsyncCallback),
133 typeof(object)
134 }, ReturnType = typeof(global::System.IAsyncResult))]
135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs", Member = "InvokeContinuation", MemberParameters = new object[]
136 {
137 "System.Action`1<Object>",
138 typeof(object),
139 typeof(bool)
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.BackgroundWorker", Member = "RunWorkerAsync", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Collections.Concurrent.BlockingCollection`1", Member = "Take", ReturnType = "T")]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.GZipStream", Member = "BeginRead", MemberParameters = new object[]
144 {
145 "System.Byte[]",
146 typeof(int),
147 typeof(int),
148 typeof(global::System.AsyncCallback),
149 typeof(object)
150 }, ReturnType = typeof(global::System.IAsyncResult))]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.GZipStream", Member = "BeginWrite", MemberParameters = new object[]
152 {
153 "System.Byte[]",
154 typeof(int),
155 typeof(int),
156 typeof(global::System.AsyncCallback),
157 typeof(object)
158 }, ReturnType = typeof(global::System.IAsyncResult))]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 23)]
160 get
161 {
162 throw null;
163 }
164 }
165
166 [global::Cpp2ILInjected.Token(Token = "0x17000188")]
167 public bool IsCancellationRequested
168 {
169 [global::Cpp2ILInjected.Token(Token = "0x60010CF")]
170 [global::Cpp2ILInjected.Address(RVA = "0x1C9460C", Offset = "0x1C9460C", Length = "0x2C")]
171 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.Tasks.Task.DelayPromise", Member = "Complete", ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "AssignCancellationToken", MemberParameters = new object[]
174 {
176 typeof(global::System.Threading.Tasks.Task),
177 typeof(global::System.Threading.Tasks.TaskContinuation)
178 }, ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "get_IsCancellationRequested", ReturnType = typeof(bool))]
180 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "ContinueWithCore", MemberParameters = new object[]
181 {
182 typeof(global::System.Threading.Tasks.Task),
183 typeof(global::System.Threading.Tasks.TaskScheduler),
185 typeof(global::System.Threading.Tasks.TaskContinuationOptions)
186 }, ReturnType = typeof(void))]
187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "FromCancellation", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
188 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "FromCancellation", MemberTypeParameters = new object[] { "TResult" }, MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = "System.Threading.Tasks.Task`1<TResult>")]
189 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "Run", MemberParameters = new object[]
190 {
193 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "Run", MemberTypeParameters = new object[] { "TResult" }, MemberParameters = new object[]
195 {
196 "System.Func`1<Task`1<TResult>>",
198 }, ReturnType = "System.Threading.Tasks.Task`1<TResult>")]
199 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "Delay", MemberParameters = new object[]
200 {
201 typeof(int),
203 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.CryptoStream), Member = "FlushAsync", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.MemoryStream), Member = "FlushAsync", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
206 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.MemoryStream), Member = "ReadAsync", MemberParameters = new object[]
207 {
208 typeof(byte[]),
209 typeof(int),
210 typeof(int),
212 }, ReturnType = typeof(global::System.Threading.Tasks.Task<int>))]
213 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.MemoryStream), Member = "ReadAsync", MemberParameters = new object[]
214 {
215 typeof(global::System.Memory<byte>),
217 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask<int>))]
218 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.MemoryStream), Member = "WriteAsync", MemberParameters = new object[]
219 {
220 typeof(byte[]),
221 typeof(int),
222 typeof(int),
224 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.MemoryStream), Member = "WriteAsync", MemberParameters = new object[]
226 {
227 typeof(global::System.ReadOnlyMemory<byte>),
229 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask))]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.UnmanagedMemoryStream), Member = "FlushAsync", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.UnmanagedMemoryStream), Member = "ReadAsync", MemberParameters = new object[]
232 {
233 typeof(byte[]),
234 typeof(int),
235 typeof(int),
237 }, ReturnType = typeof(global::System.Threading.Tasks.Task<int>))]
238 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.UnmanagedMemoryStream), Member = "ReadAsync", MemberParameters = new object[]
239 {
240 typeof(global::System.Memory<byte>),
242 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask<int>))]
243 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.UnmanagedMemoryStream), Member = "WriteAsync", MemberParameters = new object[]
244 {
245 typeof(byte[]),
246 typeof(int),
247 typeof(int),
249 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.UnmanagedMemoryStream), Member = "WriteAsync", MemberParameters = new object[]
251 {
252 typeof(global::System.ReadOnlyMemory<byte>),
254 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask))]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Stream.NullStream", Member = "FlushAsync", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Stream.NullStream", Member = "WriteAsync", MemberParameters = new object[]
257 {
258 typeof(byte[]),
259 typeof(int),
260 typeof(int),
262 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
263 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Stream.NullStream", Member = "WriteAsync", MemberParameters = new object[]
264 {
265 typeof(global::System.ReadOnlyMemory<byte>),
267 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask))]
268 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Stream), Member = "ReadAsync", MemberParameters = new object[]
269 {
270 typeof(byte[]),
271 typeof(int),
272 typeof(int),
274 }, ReturnType = typeof(global::System.Threading.Tasks.Task<int>))]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Stream), Member = "WriteAsync", MemberParameters = new object[]
276 {
277 typeof(byte[]),
278 typeof(int),
279 typeof(int),
281 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
282 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebConnectionStream", Member = "FlushAsync", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
283 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebOperation", Member = "CheckDisposed", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(global::System.Runtime.ExceptionServices.ExceptionDispatchInfo))]
284 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebOperation", Member = "ThrowIfDisposed", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(void))]
285 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebOperation", Member = "ThrowIfClosedOrDisposed", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(void))]
286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebRequestStream", Member = "WriteAsync", MemberParameters = new object[]
287 {
288 "System.Byte[]",
289 typeof(int),
290 typeof(int),
292 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
293 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebResponseStream.<ReadAsync>d__40", Member = "MoveNext", ReturnType = typeof(void))]
294 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebResponseStream", Member = "ProcessRead", MemberParameters = new object[]
295 {
296 "System.Byte[]",
297 typeof(int),
298 typeof(int),
300 }, ReturnType = "System.Threading.Tasks.Task`1<Int32>")]
301 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.Socket", Member = "ReceiveAsync", MemberParameters = new object[]
302 {
303 "System.Memory`1<Byte>",
304 "System.Net.Sockets.SocketFlags",
305 typeof(bool),
307 }, ReturnType = "System.Threading.Tasks.ValueTask`1<Int32>")]
308 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.Socket", Member = "SendAsyncForNetworkStream", MemberParameters = new object[]
309 {
310 "System.ReadOnlyMemory`1<Byte>",
311 "System.Net.Sockets.SocketFlags",
313 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask))]
314 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Collections.Concurrent.BlockingCollection`1", Member = "TryAddWithNoTimeValidation", MemberParameters = new object[]
315 {
316 "T",
317 typeof(int),
319 }, ReturnType = typeof(bool))]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Collections.Concurrent.BlockingCollection`1", Member = "TryTakeWithNoTimeValidation", MemberParameters = new object[]
321 {
322 "T&",
323 typeof(int),
326 }, ReturnType = typeof(bool))]
327 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.ChunkedMemoryStream", Member = "WriteAsync", MemberParameters = new object[]
328 {
329 "System.Byte[]",
330 typeof(int),
331 typeof(int),
333 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
334 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 39)]
335 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
336 get
337 {
338 throw null;
339 }
340 }
341
342 [global::Cpp2ILInjected.Token(Token = "0x17000189")]
343 public bool CanBeCanceled
344 {
345 [global::Cpp2ILInjected.Token(Token = "0x60010D0")]
346 [global::Cpp2ILInjected.Address(RVA = "0x1C94654", Offset = "0x1C94654", Length = "0x10")]
347 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
348 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "TaskConstructorCore", MemberParameters = new object[]
349 {
350 typeof(global::System.Delegate),
351 typeof(object),
353 typeof(global::System.Threading.Tasks.TaskCreationOptions),
354 typeof(global::System.Threading.Tasks.InternalTaskOptions),
355 typeof(global::System.Threading.Tasks.TaskScheduler)
356 }, ReturnType = typeof(void))]
357 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "InternalWait", MemberParameters = new object[]
358 {
359 typeof(int),
361 }, ReturnType = typeof(bool))]
362 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "ContinueWithCore", MemberParameters = new object[]
363 {
364 typeof(global::System.Threading.Tasks.Task),
365 typeof(global::System.Threading.Tasks.TaskScheduler),
367 typeof(global::System.Threading.Tasks.TaskContinuationOptions)
368 }, ReturnType = typeof(void))]
369 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "Delay", MemberParameters = new object[]
370 {
371 typeof(int),
373 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
374 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
375 get
376 {
377 throw null;
378 }
379 }
380
381 [global::Cpp2ILInjected.Token(Token = "0x60010D1")]
382 [global::Cpp2ILInjected.Address(RVA = "0x1C94664", Offset = "0x1C94664", Length = "0x8")]
383 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
385 {
386 throw null;
387 }
388
389 [global::Cpp2ILInjected.Token(Token = "0x60010D2")]
390 [global::Cpp2ILInjected.Address(RVA = "0x1C9466C", Offset = "0x1C9466C", Length = "0x74")]
391 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c", Member = "<.cctor>b__4_0", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
392 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.ValueTask), Member = ".cctor", ReturnType = typeof(void))]
393 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c", Member = "<.cctor>b__4_0", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
394 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.ValueTask<>), Member = "GetTaskForValueTaskSource", MemberParameters = new object[] { "System.Threading.Tasks.Sources.IValueTaskSource`1<TResult>" }, ReturnType = "System.Threading.Tasks.Task`1<TResult>")]
395 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
396 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
398 {
399 throw null;
400 }
401
402 [global::Cpp2ILInjected.Token(Token = "0x60010D3")]
403 [global::Cpp2ILInjected.Address(RVA = "0x1C946E0", Offset = "0x1C946E0", Length = "0xE8")]
404 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
405 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebOperation", Member = "RegisterRequest", MemberParameters = new object[] { "System.Net.ServicePoint", "System.Net.WebConnection" }, ReturnType = typeof(void))]
406 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
407 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationToken), Member = "Register", MemberParameters = new object[]
408 {
409 typeof(global::System.Action<object>),
410 typeof(object),
411 typeof(bool),
412 typeof(bool)
413 }, ReturnType = typeof(CancellationTokenRegistration))]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
415 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
416 public CancellationTokenRegistration Register(global::System.Action callback)
417 {
418 throw null;
419 }
420
421 [global::Cpp2ILInjected.Token(Token = "0x60010D4")]
422 [global::Cpp2ILInjected.Address(RVA = "0x1C948F4", Offset = "0x1C948F4", Length = "0x38")]
423 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
424 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "AssignCancellationToken", MemberParameters = new object[]
425 {
426 typeof(CancellationToken),
427 typeof(global::System.Threading.Tasks.Task),
428 typeof(global::System.Threading.Tasks.TaskContinuation)
429 }, ReturnType = typeof(void))]
430 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "Delay", MemberParameters = new object[]
431 {
432 typeof(int),
433 typeof(CancellationToken)
434 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
435 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
436 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationToken), Member = "Register", MemberParameters = new object[]
437 {
438 typeof(global::System.Action<object>),
439 typeof(object),
440 typeof(bool),
441 typeof(bool)
442 }, ReturnType = typeof(CancellationTokenRegistration))]
443 internal CancellationTokenRegistration InternalRegisterWithoutEC(global::System.Action<object> callback, object state)
444 {
445 throw null;
446 }
447
448 [global::Cpp2ILInjected.Token(Token = "0x60010D5")]
449 [global::Cpp2ILInjected.Address(RVA = "0x1C947C8", Offset = "0x1C947C8", Length = "0x12C")]
450 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
451 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CancellationToken), Member = "Register", MemberParameters = new object[] { typeof(global::System.Action) }, ReturnType = typeof(CancellationTokenRegistration))]
452 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CancellationToken), Member = "InternalRegisterWithoutEC", MemberParameters = new object[]
453 {
454 typeof(global::System.Action<object>),
455 typeof(object)
456 }, ReturnType = typeof(CancellationTokenRegistration))]
457 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Wait", MemberParameters = new object[]
458 {
459 typeof(int),
461 }, ReturnType = typeof(bool))]
462 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.CancellationTokenSource.Linked1CancellationTokenSource", Member = ".ctor", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(void))]
463 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.CancellationTokenSource.Linked2CancellationTokenSource", Member = ".ctor", MemberParameters = new object[]
464 {
467 }, ReturnType = typeof(void))]
468 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SemaphoreSlim), Member = "Wait", MemberParameters = new object[]
469 {
470 typeof(int),
472 }, ReturnType = typeof(bool))]
473 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
474 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "get_Current", ReturnType = typeof(SynchronizationContext))]
475 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ExecutionContext), Member = "Capture", ReturnType = typeof(ExecutionContext))]
476 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationTokenSource), Member = "InternalRegister", MemberParameters = new object[]
477 {
478 typeof(global::System.Action<object>),
479 typeof(object),
482 }, ReturnType = typeof(CancellationTokenRegistration))]
483 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
484 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
485 [MethodImpl(8)]
486 public CancellationTokenRegistration Register(global::System.Action<object> callback, object state, bool useSynchronizationContext, bool useExecutionContext)
487 {
488 throw null;
489 }
490
491 [global::Cpp2ILInjected.Token(Token = "0x60010D6")]
492 [global::Cpp2ILInjected.Address(RVA = "0x1C94C28", Offset = "0x1C94C28", Length = "0x10")]
493 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
494 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
496 {
497 throw null;
498 }
499
500 [global::Cpp2ILInjected.Token(Token = "0x60010D7")]
501 [global::Cpp2ILInjected.Address(RVA = "0x1C94C38", Offset = "0x1C94C38", Length = "0x78")]
502 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
503 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
504 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
505 public override bool Equals(object other)
506 {
507 throw null;
508 }
509
510 [global::Cpp2ILInjected.Token(Token = "0x60010D8")]
511 [global::Cpp2ILInjected.Address(RVA = "0x1C94CB0", Offset = "0x1C94CB0", Length = "0x6C")]
512 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
513 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
514 public override int GetHashCode()
515 {
516 throw null;
517 }
518
519 [global::Cpp2ILInjected.Token(Token = "0x60010D9")]
520 [global::Cpp2ILInjected.Address(RVA = "0x1C94D1C", Offset = "0x1C94D1C", Length = "0xC")]
521 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
522 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "HandleException", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(void))]
523 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
524 public static bool operator ==(CancellationToken left, CancellationToken right)
525 {
526 throw null;
527 }
528
529 [global::Cpp2ILInjected.Token(Token = "0x60010DA")]
530 [global::Cpp2ILInjected.Address(RVA = "0x1C94D28", Offset = "0x1C94D28", Length = "0xC")]
531 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
532 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "RecordInternalCancellationRequest", MemberParameters = new object[] { typeof(CancellationToken) }, ReturnType = typeof(void))]
533 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
534 public static bool operator !=(CancellationToken left, CancellationToken right)
535 {
536 throw null;
537 }
538
539 [global::Cpp2ILInjected.Token(Token = "0x60010DB")]
540 [global::Cpp2ILInjected.Address(RVA = "0x1C94D34", Offset = "0x1C94D34", Length = "0x38")]
541 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
542 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Wait", MemberParameters = new object[]
543 {
544 typeof(int),
546 }, ReturnType = typeof(bool))]
547 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.SemaphoreSlim.<WaitUntilCountOrTimeoutAsync>d__32", Member = "MoveNext", ReturnType = typeof(void))]
548 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SemaphoreSlim), Member = "Wait", MemberParameters = new object[]
549 {
550 typeof(int),
552 }, ReturnType = typeof(bool))]
553 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SemaphoreSlim), Member = "WaitUntilCountOrTimeout", MemberParameters = new object[]
554 {
555 typeof(int),
556 typeof(uint),
558 }, ReturnType = typeof(bool))]
559 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "Wait", MemberParameters = new object[]
560 {
561 typeof(int),
563 }, ReturnType = typeof(bool))]
564 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.AsyncProtocolRequest.<ProcessOperation>d__24", Member = "MoveNext", ReturnType = typeof(void))]
565 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MobileAuthenticatedStream.<InnerRead>d__66", Member = "MoveNext", ReturnType = typeof(void))]
566 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MobileAuthenticatedStream.<InnerWrite>d__67", Member = "MoveNext", ReturnType = typeof(void))]
567 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.BufferedReadStream.<ProcessReadAsync>d__2", Member = "MoveNext", ReturnType = typeof(void))]
568 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FixedSizeReadStream.<ProcessReadAsync>d__5", Member = "MoveNext", ReturnType = typeof(void))]
569 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.HttpWebRequest.<MyGetResponseAsync>d__243", Member = "MoveNext", ReturnType = typeof(void))]
570 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.MonoChunkStream.<ProcessReadAsync>d__7", Member = "MoveNext", ReturnType = typeof(void))]
571 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.MonoChunkStream.<FinishReading>d__8", Member = "MoveNext", ReturnType = typeof(void))]
572 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebConnectionTunnel.<ReadHeaders>d__43", Member = "MoveNext", ReturnType = typeof(void))]
573 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebResponseStream.<ReadAsync>d__40", Member = "MoveNext", ReturnType = typeof(void))]
574 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebResponseStream.<ReadAllAsyncInner>d__47", Member = "MoveNext", ReturnType = typeof(void))]
575 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebResponseStream.<ReadAllAsync>d__48", Member = "MoveNext", ReturnType = typeof(void))]
576 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Collections.Concurrent.BlockingCollection`1", Member = "TryAddWithNoTimeValidation", MemberParameters = new object[]
577 {
578 "T",
579 typeof(int),
581 }, ReturnType = typeof(bool))]
582 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Collections.Concurrent.BlockingCollection`1", Member = "TryTakeWithNoTimeValidation", MemberParameters = new object[]
583 {
584 "T&",
585 typeof(int),
588 }, ReturnType = typeof(bool))]
589 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 22)]
590 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationToken), Member = "ThrowOperationCanceledException", ReturnType = typeof(void))]
591 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
593 {
594 throw null;
595 }
596
597 [global::Cpp2ILInjected.Token(Token = "0x60010DC")]
598 [global::Cpp2ILInjected.Address(RVA = "0x1C94D6C", Offset = "0x1C94D6C", Length = "0x58")]
599 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CancellationToken), Member = "ThrowIfCancellationRequested", ReturnType = typeof(void))]
600 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
601 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OperationCanceledException), Member = ".ctor", MemberParameters = new object[]
602 {
603 typeof(string),
605 }, ReturnType = typeof(void))]
606 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
608 {
609 throw null;
610 }
611
612 // Note: this type is marked as 'beforefieldinit'.
613 [global::Cpp2ILInjected.Token(Token = "0x60010DD")]
614 [global::Cpp2ILInjected.Address(RVA = "0x1C94DC4", Offset = "0x1C94DC4", Length = "0xC4")]
615 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
616 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Action<object>), Member = ".ctor", MemberParameters = new object[]
617 {
618 typeof(object),
619 typeof(global::System.IntPtr)
620 }, ReturnType = typeof(void))]
621 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
623 {
624 throw null;
625 }
626
627 [global::Cpp2ILInjected.Token(Token = "0x4000918")]
628 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
630
631 [global::Cpp2ILInjected.Token(Token = "0x4000919")]
632 private static readonly global::System.Action<object> s_actionToActionObjShunt;
633
634 [global::System.Runtime.CompilerServices.CompilerGenerated]
635 [global::Cpp2ILInjected.Token(Token = "0x20001CA")]
636 [global::System.Serializable]
637 private sealed class <>c
638 {
639 // Note: this type is marked as 'beforefieldinit'.
640 [global::Cpp2ILInjected.Token(Token = "0x60010DE")]
641 [global::Cpp2ILInjected.Address(RVA = "0x1C94E88", Offset = "0x1C94E88", Length = "0x5C")]
642 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
643 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
644 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
645 static <>c()
646 {
647 throw null;
648 }
649
650 [global::Cpp2ILInjected.Token(Token = "0x60010DF")]
651 [global::Cpp2ILInjected.Address(RVA = "0x1C94EE4", Offset = "0x1C94EE4", Length = "0x8")]
652 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
653 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
654 public <>c()
655 {
656 throw null;
657 }
658
659 [global::Cpp2ILInjected.Token(Token = "0x60010E0")]
660 [global::Cpp2ILInjected.Address(RVA = "0x1C94EEC", Offset = "0x1C94EEC", Length = "0x68")]
661 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
662 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
663 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
664 internal void <.cctor>b__26_0(object obj)
665 {
666 throw null;
667 }
668
669 [global::Cpp2ILInjected.Token(Token = "0x400091A")]
670 public static readonly CancellationToken.<>c <>9;
671 }
672 }
673}
class f__AnonymousType0<< Count > j__TPar
CancellationTokenRegistration Register(global::System.Action< object > callback, object state, bool useSynchronizationContext, bool useExecutionContext)
override bool Equals(object other)
CancellationTokenRegistration Register(global::System.Action callback)
bool Equals(CancellationToken other)
CancellationTokenRegistration InternalRegisterWithoutEC(global::System.Action< object > callback, object state)
CancellationToken(CancellationTokenSource source)
readonly CancellationTokenSource _source
static readonly global::System.Action< object > s_actionToActionObjShunt