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
ManualResetEventSlim.cs
Go to the documentation of this file.
1using System;
6
7namespace System.Threading
8{
9 [global::System.Diagnostics.DebuggerDisplay("Set = {IsSet}")]
10 [global::Cpp2ILInjected.Token(Token = "0x20001CB")]
11 public class ManualResetEventSlim : global::System.IDisposable
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x1700018A")]
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x60010E1")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1C94F54", Offset = "0x1C94F54", Length = "0x3C")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "System.IAsyncResult.get_AsyncWaitHandle", ReturnType = typeof(WaitHandle))]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "ThrowIfDisposed", ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "LazyInitializeEvent", ReturnType = typeof(bool))]
22 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
23 get
24 {
25 throw null;
26 }
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x1700018B")]
30 public bool IsSet
31 {
32 [global::Cpp2ILInjected.Token(Token = "0x60010E2")]
33 [global::Cpp2ILInjected.Address(RVA = "0x1C95150", Offset = "0x1C95150", Length = "0x5C")]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "LazyInitializeEvent", ReturnType = typeof(bool))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Wait", MemberParameters = new object[]
36 {
37 typeof(int),
39 }, ReturnType = typeof(bool))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
42 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
43 get
44 {
45 throw null;
46 }
47 [global::Cpp2ILInjected.Token(Token = "0x60010E3")]
48 [global::Cpp2ILInjected.Address(RVA = "0x1C951B4", Offset = "0x1C951B4", Length = "0x14")]
49 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
51 private set
52 {
53 throw null;
54 }
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x1700018C")]
58 public int SpinCount
59 {
60 [global::Cpp2ILInjected.Token(Token = "0x60010E4")]
61 [global::Cpp2ILInjected.Address(RVA = "0x1C9526C", Offset = "0x1C9526C", Length = "0x5C")]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Wait", MemberParameters = new object[]
63 {
64 typeof(int),
66 }, ReturnType = typeof(bool))]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
68 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
69 get
70 {
71 throw null;
72 }
73 [global::Cpp2ILInjected.Token(Token = "0x60010E5")]
74 [global::Cpp2ILInjected.Address(RVA = "0x1C952D4", Offset = "0x1C952D4", Length = "0x34")]
75 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
76 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
77 private set
78 {
79 throw null;
80 }
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x1700018D")]
84 private int Waiters
85 {
86 [global::Cpp2ILInjected.Token(Token = "0x60010E6")]
87 [global::Cpp2ILInjected.Address(RVA = "0x1C95308", Offset = "0x1C95308", Length = "0x5C")]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Set", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Wait", MemberParameters = new object[]
90 {
91 typeof(int),
93 }, ReturnType = typeof(bool))]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
95 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
96 get
97 {
98 throw null;
99 }
100 [global::Cpp2ILInjected.Token(Token = "0x60010E7")]
101 [global::Cpp2ILInjected.Address(RVA = "0x1C95364", Offset = "0x1C95364", Length = "0x8C")]
102 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Wait", MemberParameters = new object[]
104 {
105 typeof(int),
107 }, ReturnType = typeof(bool))]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "UpdateStateAtomically", MemberParameters = new object[]
110 {
111 typeof(int),
112 typeof(int)
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
115 {
116 typeof(string),
117 typeof(object)
118 }, ReturnType = typeof(string))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
121 set
122 {
123 throw null;
124 }
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x60010E8")]
128 [global::Cpp2ILInjected.Address(RVA = "0x1C953F0", Offset = "0x1C953F0", Length = "0x7C")]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "get_CompletedEvent", ReturnType = typeof(ManualResetEventSlim))]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x60010E9")]
139 [global::Cpp2ILInjected.Address(RVA = "0x1C95514", Offset = "0x1C95514", Length = "0x118")]
140 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.Tasks.Task.SetOnInvokeMres", Member = ".ctor", ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "Initialize", MemberParameters = new object[]
145 {
146 typeof(bool),
147 typeof(int)
148 }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
151 {
152 typeof(string),
153 typeof(object)
154 }, ReturnType = typeof(string))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
156 {
157 typeof(string),
158 typeof(string)
159 }, ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
162 {
163 throw null;
164 }
165
166 [global::Cpp2ILInjected.Token(Token = "0x60010EA")]
167 [global::Cpp2ILInjected.Address(RVA = "0x1C9546C", Offset = "0x1C9546C", Length = "0xA8")]
168 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
169 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = ".ctor", MemberParameters = new object[]
170 {
171 typeof(bool),
172 typeof(int)
173 }, ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
175 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
176 private void Initialize(bool initialState, int spinCount)
177 {
178 throw null;
179 }
180
181 [global::Cpp2ILInjected.Token(Token = "0x60010EB")]
182 [global::Cpp2ILInjected.Address(RVA = "0x1C9562C", Offset = "0x1C9562C", Length = "0x80")]
183 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Wait", MemberParameters = new object[]
184 {
185 typeof(int),
187 }, ReturnType = typeof(bool))]
188 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interlocked), Member = "CompareExchange", MemberParameters = new object[]
191 {
192 typeof(ref object),
193 typeof(object),
194 typeof(object)
195 }, ReturnType = typeof(object))]
196 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
198 {
199 throw null;
200 }
201
202 [global::Cpp2ILInjected.Token(Token = "0x60010EC")]
203 [global::Cpp2ILInjected.Address(RVA = "0x1C94FF0", Offset = "0x1C94FF0", Length = "0x160")]
204 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "get_WaitHandle", ReturnType = typeof(WaitHandle))]
206 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "get_IsSet", ReturnType = typeof(bool))]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = ".ctor", MemberParameters = new object[]
209 {
210 typeof(bool),
212 typeof(string)
213 }, ReturnType = typeof(void))]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "Dispose", ReturnType = typeof(void))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
216 {
217 typeof(object),
218 typeof(ref bool)
219 }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
221 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
222 private bool LazyInitializeEvent()
223 {
224 throw null;
225 }
226
227 [global::Cpp2ILInjected.Token(Token = "0x60010ED")]
228 [global::Cpp2ILInjected.Address(RVA = "0x1C945FC", Offset = "0x1C945FC", Length = "0x8")]
229 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task.ContingentProperties), Member = "SetCompleted", ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.Tasks.Task.SetOnInvokeMres", Member = "Invoke", MemberParameters = new object[] { typeof(global::System.Threading.Tasks.Task) }, ReturnType = typeof(void))]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "get_CompletedEvent", ReturnType = typeof(ManualResetEventSlim))]
232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
233 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "FinishStageTwo", ReturnType = typeof(void))]
234 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "CancellationCleanupLogic", ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "Set", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
237 public void Set()
238 {
239 throw null;
240 }
241
242 [global::Cpp2ILInjected.Token(Token = "0x60010EE")]
243 [global::Cpp2ILInjected.Address(RVA = "0x1C95728", Offset = "0x1C95728", Length = "0x19C")]
244 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
245 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CountdownEvent), Member = "Signal", ReturnType = typeof(bool))]
246 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Set", ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
248 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "UpdateStateAtomically", MemberParameters = new object[]
249 {
250 typeof(int),
251 typeof(int)
252 }, ReturnType = typeof(void))]
253 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "get_Waiters", ReturnType = typeof(int))]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
255 {
256 typeof(object),
257 typeof(ref bool)
258 }, ReturnType = typeof(void))]
259 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "PulseAll", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
260 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
261 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
262 private void Set(bool duringCancellation)
263 {
264 throw null;
265 }
266
267 [global::Cpp2ILInjected.Token(Token = "0x60010EF")]
268 [global::Cpp2ILInjected.Address(RVA = "0x1C95918", Offset = "0x1C95918", Length = "0x44C")]
269 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "SpinThenBlockingWait", MemberParameters = new object[]
271 {
272 typeof(int),
273 typeof(CancellationToken)
274 }, ReturnType = typeof(bool))]
275 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
276 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "ThrowIfDisposed", ReturnType = typeof(void))]
277 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationToken), Member = "ThrowIfCancellationRequested", ReturnType = typeof(void))]
278 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "get_IsSet", ReturnType = typeof(bool))]
279 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "get_TickCount", ReturnType = typeof(int))]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "get_SpinCount", ReturnType = typeof(int))]
281 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpinWait), Member = "SpinOnceCore", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
282 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "EnsureLockObjectCreated", ReturnType = typeof(void))]
283 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationToken), Member = "Register", MemberParameters = new object[]
284 {
285 typeof(global::System.Action<object>),
286 typeof(object),
287 typeof(bool),
288 typeof(bool)
289 }, ReturnType = typeof(CancellationTokenRegistration))]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
291 {
292 typeof(object),
293 typeof(ref bool)
294 }, ReturnType = typeof(void))]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "get_Waiters", ReturnType = typeof(int))]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEventSlim), Member = "set_Waiters", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Wait", MemberParameters = new object[]
298 {
299 typeof(object),
300 typeof(int),
301 typeof(bool)
302 }, ReturnType = typeof(bool))]
303 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationTokenRegistration), Member = "Dispose", ReturnType = typeof(void))]
304 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
305 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
306 public bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
307 {
308 throw null;
309 }
310
311 [global::Cpp2ILInjected.Token(Token = "0x60010F0")]
312 [global::Cpp2ILInjected.Address(RVA = "0x1C95E58", Offset = "0x1C95E58", Length = "0x6C")]
313 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
314 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "get_CompletedEvent", ReturnType = typeof(ManualResetEventSlim))]
315 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
316 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
317 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
318 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
319 public void Dispose()
320 {
321 throw null;
322 }
323
324 [global::Cpp2ILInjected.Token(Token = "0x60010F1")]
325 [global::Cpp2ILInjected.Address(RVA = "0x1C95EC4", Offset = "0x1C95EC4", Length = "0xF4")]
326 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
327 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
329 {
330 typeof(object),
331 typeof(ref bool)
332 }, ReturnType = typeof(void))]
333 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitHandle), Member = "Dispose", ReturnType = typeof(void))]
334 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
335 protected virtual void Dispose(bool disposing)
336 {
337 throw null;
338 }
339
340 [global::Cpp2ILInjected.Token(Token = "0x60010F2")]
341 [global::Cpp2ILInjected.Address(RVA = "0x1C94F90", Offset = "0x1C94F90", Length = "0x60")]
342 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "get_WaitHandle", ReturnType = typeof(WaitHandle))]
343 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Wait", MemberParameters = new object[]
344 {
345 typeof(int),
347 }, ReturnType = typeof(bool))]
348 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
349 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
350 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
351 private void ThrowIfDisposed()
352 {
353 throw null;
354 }
355
356 [global::Cpp2ILInjected.Token(Token = "0x60010F3")]
357 [global::Cpp2ILInjected.Address(RVA = "0x1C95FB8", Offset = "0x1C95FB8", Length = "0x108")]
358 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
359 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
361 {
362 typeof(object),
363 typeof(ref bool)
364 }, ReturnType = typeof(void))]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "PulseAll", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
366 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
367 private static void CancellationTokenCallback(object obj)
368 {
369 throw null;
370 }
371
372 [global::Cpp2ILInjected.Token(Token = "0x60010F4")]
373 [global::Cpp2ILInjected.Address(RVA = "0x1C951C8", Offset = "0x1C951C8", Length = "0xA4")]
374 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
375 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "set_Waiters", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
376 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Set", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
377 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
378 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Interlocked), Member = "CompareExchange", MemberParameters = new object[]
379 {
380 typeof(ref int),
381 typeof(int),
382 typeof(int)
383 }, ReturnType = typeof(int))]
384 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpinWait), Member = "SpinOnceCore", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
385 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
387 {
388 throw null;
389 }
390
391 [global::Cpp2ILInjected.Token(Token = "0x60010F5")]
392 [global::Cpp2ILInjected.Address(RVA = "0x1C952C8", Offset = "0x1C952C8", Length = "0xC")]
393 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
394 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
395 private static int ExtractStatePortionAndShiftRight(int state, int mask, int rightBitShiftCount)
396 {
397 throw null;
398 }
399
400 [global::Cpp2ILInjected.Token(Token = "0x60010F6")]
401 [global::Cpp2ILInjected.Address(RVA = "0x1C951AC", Offset = "0x1C951AC", Length = "0x8")]
402 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
403 private static int ExtractStatePortion(int state, int mask)
404 {
405 throw null;
406 }
407
408 // Note: this type is marked as 'beforefieldinit'.
409 [global::Cpp2ILInjected.Token(Token = "0x60010F7")]
410 [global::Cpp2ILInjected.Address(RVA = "0x1C960C8", Offset = "0x1C960C8", Length = "0x94")]
411 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
412 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Action<object>), Member = ".ctor", MemberParameters = new object[]
413 {
414 typeof(object),
415 typeof(global::System.IntPtr)
416 }, ReturnType = typeof(void))]
417 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
419 {
420 throw null;
421 }
422
423 [global::Cpp2ILInjected.Token(Token = "0x400091B")]
424 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
425 private object m_lock;
426
427 [global::Cpp2ILInjected.Token(Token = "0x400091C")]
428 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
430
431 [global::Cpp2ILInjected.Token(Token = "0x400091D")]
432 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
433 private int m_combinedState;
434
435 [global::Cpp2ILInjected.Token(Token = "0x400091E")]
436 private static global::System.Action<object> s_cancellationTokenCallback;
437 }
438}
class f__AnonymousType0<< Count > j__TPar
static void CancellationTokenCallback(object obj)
static int ExtractStatePortion(int state, int mask)
ManualResetEventSlim(bool initialState, int spinCount)
static global::System.Action< object > s_cancellationTokenCallback
void Initialize(bool initialState, int spinCount)
static int ExtractStatePortionAndShiftRight(int state, int mask, int rightBitShiftCount)
bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
void UpdateStateAtomically(int newBits, int updateBitsMask)