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
WaitHandle.cs
Go to the documentation of this file.
1using System;
8
9namespace System.Threading
10{
11 [global::System.Runtime.InteropServices.ComVisible(true)]
12 [global::Cpp2ILInjected.Token(Token = "0x2000209")]
13 [StructLayout(0)]
14 public abstract class WaitHandle : global::System.MarshalByRefObject, global::System.IDisposable
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6001274")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1CA0968", Offset = "0x1CA0968", Length = "0x1C")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EventWaitHandle), Member = ".ctor", MemberParameters = new object[]
19 {
20 typeof(bool),
22 typeof(string)
23 }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.ProcessWaitHandle", Member = ".ctor", MemberParameters = new object[] { "Microsoft.Win32.SafeHandles.SafeProcessHandle" }, ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Semaphore", Member = ".ctor", MemberParameters = new object[]
26 {
27 typeof(int),
28 typeof(int)
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.MarshalByRefObject), Member = ".ctor", ReturnType = typeof(void))]
32 protected WaitHandle()
33 {
34 throw null;
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x6001275")]
38 [global::Cpp2ILInjected.Address(RVA = "0x1CA0984", Offset = "0x1CA0984", Length = "0x6C")]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
41 private void Init()
42 {
43 throw null;
44 }
45
46 [global::System.Obsolete("Use the SafeWaitHandle property instead.")]
47 [global::Cpp2ILInjected.Token(Token = "0x170001C1")]
48 public virtual global::System.IntPtr Handle
49 {
50 [global::Cpp2ILInjected.Token(Token = "0x6001276")]
51 [global::Cpp2ILInjected.Address(RVA = "0x1CA09F0", Offset = "0x1CA09F0", Length = "0x78")]
52 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
53 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
54 get
55 {
56 throw null;
57 }
58 [global::Cpp2ILInjected.Token(Token = "0x6001277")]
59 [global::Cpp2ILInjected.Address(RVA = "0x1CA0A68", Offset = "0x1CA0A68", Length = "0xE0")]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Equality", MemberParameters = new object[]
62 {
63 typeof(global::System.IntPtr),
64 typeof(global::System.IntPtr)
65 }, ReturnType = typeof(bool))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "SetHandleAsInvalid", ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Microsoft.Win32.SafeHandles.SafeWaitHandle), Member = ".ctor", MemberParameters = new object[]
68 {
69 typeof(global::System.IntPtr),
70 typeof(bool)
71 }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
73 set
74 {
75 throw null;
76 }
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x170001C2")]
81 {
82 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.MayFail)]
83 [global::Cpp2ILInjected.Token(Token = "0x6001278")]
84 [global::Cpp2ILInjected.Address(RVA = "0x1CA0B48", Offset = "0x1CA0B48", Length = "0xB0")]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitMultiple", MemberParameters = new object[]
86 {
88 typeof(int),
89 typeof(bool),
90 typeof(bool)
91 }, ReturnType = typeof(int))]
92 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RegisteredWaitHandle), Member = "Wait", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Microsoft.Win32.SafeHandles.SafeWaitHandle), Member = ".ctor", MemberParameters = new object[]
95 {
96 typeof(global::System.IntPtr),
97 typeof(bool)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
100 get
101 {
102 throw null;
103 }
104 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.Success)]
105 [global::Cpp2ILInjected.Token(Token = "0x6001279")]
106 [global::Cpp2ILInjected.Address(RVA = "0x1CA0BF8", Offset = "0x1CA0BF8", Length = "0x88")]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.ProcessWaitHandle", Member = ".ctor", MemberParameters = new object[] { "Microsoft.Win32.SafeHandles.SafeProcessHandle" }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "PrepareConstrainedRegions", ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
111 set
112 {
113 throw null;
114 }
115 }
116
117 [global::Cpp2ILInjected.Token(Token = "0x600127A")]
118 [global::Cpp2ILInjected.Address(RVA = "0x1CA0C80", Offset = "0x1CA0C80", Length = "0x2C")]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EventWaitHandle), Member = ".ctor", MemberParameters = new object[]
120 {
121 typeof(bool),
123 typeof(string)
124 }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
128 {
129 throw null;
130 }
131
132 [global::Cpp2ILInjected.Token(Token = "0x600127B")]
133 [global::Cpp2ILInjected.Address(RVA = "0x1CA0CAC", Offset = "0x1CA0CAC", Length = "0x80")]
134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
137 {
138 typeof(string),
139 typeof(string)
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
142 public virtual bool WaitOne(int millisecondsTimeout, bool exitContext)
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x600127C")]
148 [global::Cpp2ILInjected.Address(RVA = "0x1CA0DAC", Offset = "0x1CA0DAC", Length = "0x14")]
149 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
150 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
151 public virtual bool WaitOne()
152 {
153 throw null;
154 }
155
156 [global::Cpp2ILInjected.Token(Token = "0x600127D")]
157 [global::Cpp2ILInjected.Address(RVA = "0x1CA0DC0", Offset = "0x1CA0DC0", Length = "0x10")]
158 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
160 public virtual bool WaitOne(int millisecondsTimeout)
161 {
162 throw null;
163 }
164
165 [global::Cpp2ILInjected.Token(Token = "0x600127E")]
166 [global::Cpp2ILInjected.Address(RVA = "0x1CA0D2C", Offset = "0x1CA0D2C", Length = "0x80")]
167 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
168 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "InternalWaitOne", MemberParameters = new object[]
170 {
171 typeof(global::System.Runtime.InteropServices.SafeHandle),
172 typeof(long),
173 typeof(bool),
174 typeof(bool)
175 }, ReturnType = typeof(bool))]
176 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
177 private bool WaitOne(long timeout, bool exitContext)
178 {
179 throw null;
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x600127F")]
183 [global::Cpp2ILInjected.Address(RVA = "0x1CA0DD0", Offset = "0x1CA0DD0", Length = "0xEC")]
184 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitOne", MemberParameters = new object[]
186 {
187 typeof(long),
188 typeof(bool)
189 }, ReturnType = typeof(bool))]
190 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "WaitOneNative", MemberParameters = new object[]
192 {
193 typeof(global::System.Runtime.InteropServices.SafeHandle),
194 typeof(uint),
195 typeof(bool),
196 typeof(bool)
197 }, ReturnType = typeof(int))]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[]
200 {
201 typeof(string),
202 typeof(string)
203 }, ReturnType = typeof(void))]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "ThrowAbandonedMutexException", ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
206 internal static bool InternalWaitOne(global::System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext)
207 {
208 throw null;
209 }
210
211 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.MayFail)]
212 [global::Cpp2ILInjected.Token(Token = "0x6001280")]
213 [global::Cpp2ILInjected.Address(RVA = "0x1CA1088", Offset = "0x1CA1088", Length = "0x2B8")]
214 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
215 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitAny", MemberParameters = new object[]
216 {
218 typeof(global::System.TimeSpan),
219 typeof(bool)
220 }, ReturnType = typeof(int))]
221 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitAny", MemberParameters = new object[]
222 {
223 typeof(WaitHandle[]),
224 typeof(int)
225 }, ReturnType = typeof(int))]
226 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.TimerThread", Member = "ThreadProc", ReturnType = typeof(void))]
227 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "WaitMultiple", MemberParameters = new object[]
229 {
230 typeof(WaitHandle[]),
231 typeof(int),
232 typeof(bool),
233 typeof(bool)
234 }, ReturnType = typeof(int))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "KeepAlive", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
238 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
241 {
242 typeof(string),
243 typeof(string)
244 }, ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "ThrowAbandonedMutexException", MemberParameters = new object[]
246 {
247 typeof(int),
248 typeof(WaitHandle)
249 }, ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "ThrowAbandonedMutexException", ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 26)]
252 public static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext)
253 {
254 throw null;
255 }
256
257 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.MayFail)]
258 [global::Cpp2ILInjected.Token(Token = "0x6001281")]
259 [global::Cpp2ILInjected.Address(RVA = "0x1CA16A0", Offset = "0x1CA16A0", Length = "0x108")]
260 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RegisteredWaitHandle), Member = "Wait", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TimeSpan), Member = "get_TotalMilliseconds", ReturnType = typeof(double))]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "WaitAny", MemberParameters = new object[]
265 {
266 typeof(WaitHandle[]),
267 typeof(int),
268 typeof(bool)
269 }, ReturnType = typeof(int))]
270 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
271 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
272 {
273 typeof(string),
274 typeof(string)
275 }, ReturnType = typeof(void))]
276 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
277 public static int WaitAny(WaitHandle[] waitHandles, global::System.TimeSpan timeout, bool exitContext)
278 {
279 throw null;
280 }
281
282 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.MayFail)]
283 [global::Cpp2ILInjected.Token(Token = "0x6001282")]
284 [global::Cpp2ILInjected.Address(RVA = "0x1CA17A8", Offset = "0x1CA17A8", Length = "0x68")]
285 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ThreadedRenderManager", Member = "WaitAndProcess", MemberParameters = new object[]
286 {
287 "ThreadedRenderManager.BatchProcessCallback",
288 typeof(int)
289 }, ReturnType = typeof(void))]
290 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
291 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "WaitAny", MemberParameters = new object[]
292 {
293 typeof(WaitHandle[]),
294 typeof(int),
295 typeof(bool)
296 }, ReturnType = typeof(int))]
297 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
298 public static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout)
299 {
300 throw null;
301 }
302
303 [global::Cpp2ILInjected.Token(Token = "0x6001283")]
304 [global::Cpp2ILInjected.Address(RVA = "0x1CA1050", Offset = "0x1CA1050", Length = "0x38")]
305 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "InternalWaitOne", MemberParameters = new object[]
306 {
307 typeof(global::System.Runtime.InteropServices.SafeHandle),
308 typeof(long),
309 typeof(bool),
310 typeof(bool)
311 }, ReturnType = typeof(bool))]
312 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitAny", MemberParameters = new object[]
313 {
314 typeof(WaitHandle[]),
315 typeof(int),
316 typeof(bool)
317 }, ReturnType = typeof(int))]
318 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
319 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AbandonedMutexException), Member = ".ctor", ReturnType = typeof(void))]
320 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
321 private static void ThrowAbandonedMutexException()
322 {
323 throw null;
324 }
325
326 [global::Cpp2ILInjected.Token(Token = "0x6001284")]
327 [global::Cpp2ILInjected.Address(RVA = "0x1CA1654", Offset = "0x1CA1654", Length = "0x4C")]
328 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitAny", MemberParameters = new object[]
329 {
331 typeof(int),
332 typeof(bool)
333 }, ReturnType = typeof(int))]
334 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AbandonedMutexException), Member = ".ctor", MemberParameters = new object[]
336 {
337 typeof(int),
338 typeof(WaitHandle)
339 }, ReturnType = typeof(void))]
340 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
341 private static void ThrowAbandonedMutexException(int location, WaitHandle handle)
342 {
343 throw null;
344 }
345
346 [global::Cpp2ILInjected.Token(Token = "0x6001285")]
347 [global::Cpp2ILInjected.Address(RVA = "0x1CA1810", Offset = "0x1CA1810", Length = "0x70")]
348 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
349 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
350 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
351 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
352 public virtual void Close()
353 {
354 throw null;
355 }
356
357 [global::Cpp2ILInjected.Token(Token = "0x6001286")]
358 [global::Cpp2ILInjected.Address(RVA = "0x1CA1880", Offset = "0x1CA1880", Length = "0x40")]
359 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "Close", ReturnType = typeof(void))]
361 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
362 protected virtual void Dispose(bool explicitDisposing)
363 {
364 throw null;
365 }
366
367 [global::Cpp2ILInjected.Token(Token = "0x6001287")]
368 [global::Cpp2ILInjected.Address(RVA = "0x1CA18C0", Offset = "0x1CA18C0", Length = "0x70")]
369 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
370 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "LazyInitializeEvent", ReturnType = typeof(bool))]
371 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
372 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CancellationTokenSource), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
373 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
374 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
375 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
376 public void Dispose()
377 {
378 throw null;
379 }
380
381 [global::Cpp2ILInjected.Token(Token = "0x6001288")]
382 [global::Cpp2ILInjected.Address(RVA = "0x1CA0EBC", Offset = "0x1CA0EBC", Length = "0x194")]
383 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
384 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "InternalWaitOne", MemberParameters = new object[]
385 {
386 typeof(global::System.Runtime.InteropServices.SafeHandle),
387 typeof(long),
388 typeof(bool),
389 typeof(bool)
390 }, ReturnType = typeof(bool))]
391 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
392 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "get_Current", ReturnType = typeof(SynchronizationContext))]
393 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
394 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "IsWaitNotificationRequired", ReturnType = typeof(bool))]
395 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
396 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
397 private static int WaitOneNative(global::System.Runtime.InteropServices.SafeHandle waitableSafeHandle, uint millisecondsTimeout, bool hasThreadAffinity, bool exitContext)
398 {
399 throw null;
400 }
401
402 [global::Cpp2ILInjected.Token(Token = "0x6001289")]
403 [global::Cpp2ILInjected.Address(RVA = "0x1CA1340", Offset = "0x1CA1340", Length = "0x314")]
404 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
405 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaitHandle), Member = "WaitAny", MemberParameters = new object[]
406 {
408 typeof(int),
409 typeof(bool)
410 }, ReturnType = typeof(int))]
411 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
412 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "get_Current", ReturnType = typeof(SynchronizationContext))]
413 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "get_SafeWaitHandle", ReturnType = typeof(Microsoft.Win32.SafeHandles.SafeWaitHandle))]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
415 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SynchronizationContext), Member = "IsWaitNotificationRequired", ReturnType = typeof(bool))]
416 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
417 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
418 private static int WaitMultiple(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext, bool WaitAll)
419 {
420 throw null;
421 }
422
423 [global::Cpp2ILInjected.Token(Token = "0x600128A")]
424 [global::Cpp2ILInjected.Address(RVA = "0x1CA1930", Offset = "0x1CA1930", Length = "0x8")]
425 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SynchronizationContext), Member = "WaitHelper", MemberParameters = new object[]
426 {
427 typeof(global::System.IntPtr[]),
428 typeof(bool),
429 typeof(int)
430 }, ReturnType = typeof(int))]
431 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
432 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
433 [MethodImpl(4096)]
434 internal unsafe static extern int Wait_internal(global::System.IntPtr* handles, int numHandles, bool waitAll, int ms);
435
436 // Note: this type is marked as 'beforefieldinit'.
437 [global::Cpp2ILInjected.Token(Token = "0x600128B")]
438 [global::Cpp2ILInjected.Address(RVA = "0x1CA1938", Offset = "0x1CA1938", Length = "0x54")]
439 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
440 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IntPtr))]
441 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
442 static WaitHandle()
443 {
444 throw null;
445 }
446
447 [global::Cpp2ILInjected.Token(Token = "0x40009CE")]
448 public const int WaitTimeout = 258;
449
450 [global::Cpp2ILInjected.Token(Token = "0x40009CF")]
451 private const int MAX_WAITHANDLES = 64;
452
453 [global::Cpp2ILInjected.Token(Token = "0x40009D0")]
454 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
455 private global::System.IntPtr waitHandle;
456
457 [global::Cpp2ILInjected.Token(Token = "0x40009D1")]
458 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
460
461 [global::Cpp2ILInjected.Token(Token = "0x40009D2")]
462 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
463 internal bool hasThreadAffinity;
464
465 [global::Cpp2ILInjected.Token(Token = "0x40009D3")]
466 private const int WAIT_OBJECT_0 = 0;
467
468 [global::Cpp2ILInjected.Token(Token = "0x40009D4")]
469 private const int WAIT_ABANDONED = 128;
470
471 [global::Cpp2ILInjected.Token(Token = "0x40009D5")]
472 private const int WAIT_FAILED = 2147483647;
473
474 [global::Cpp2ILInjected.Token(Token = "0x40009D6")]
475 private const int ERROR_TOO_MANY_POSTS = 298;
476
477 [global::Cpp2ILInjected.Token(Token = "0x40009D7")]
478 private const int ERROR_NOT_OWNED_BY_CALLER = 299;
479
480 [global::Cpp2ILInjected.Token(Token = "0x40009D8")]
481 protected static readonly global::System.IntPtr InvalidHandle;
482
483 [global::Cpp2ILInjected.Token(Token = "0x40009D9")]
484 internal const int MaxWaitHandles = 64;
485 }
486}
class f__AnonymousType0<< Count > j__TPar
static int WaitAny(WaitHandle[] waitHandles, global::System.TimeSpan timeout, bool exitContext)
static void ThrowAbandonedMutexException()
static bool InternalWaitOne(global::System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext)
static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout)
virtual void Dispose(bool explicitDisposing)
void SetHandleInternal(Microsoft.Win32.SafeHandles.SafeWaitHandle handle)
virtual bool WaitOne(int millisecondsTimeout, bool exitContext)
static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext)
global::System.IntPtr waitHandle
virtual bool WaitOne(int millisecondsTimeout)
static unsafe int Wait_internal(global::System.IntPtr *handles, int numHandles, bool waitAll, int ms)
static void ThrowAbandonedMutexException(int location, WaitHandle handle)
static int WaitMultiple(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext, bool WaitAll)
Microsoft.Win32.SafeHandles.SafeWaitHandle safeWaitHandle
static int WaitOneNative(global::System.Runtime.InteropServices.SafeHandle waitableSafeHandle, uint millisecondsTimeout, bool hasThreadAffinity, bool exitContext)
bool WaitOne(long timeout, bool exitContext)
static readonly global::System.IntPtr InvalidHandle