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
ConcurrentQueue.cs
Go to the documentation of this file.
1using System;
9
11{
12 [global::System.Diagnostics.DebuggerTypeProxy(typeof(IProducerConsumerCollectionDebugView<>))]
13 [global::System.Diagnostics.DebuggerDisplay("Count = {Count}")]
14 [global::Cpp2ILInjected.Token(Token = "0x2000610")]
15 [global::System.Serializable]
16 public class ConcurrentQueue<T> : IProducerConsumerCollection<T>, global::System.Collections.Generic.IEnumerable<T>, IEnumerable, ICollection, global::System.Collections.Generic.IReadOnlyCollection<T>
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6002F57")]
19 [global::Cpp2ILInjected.Address(RVA = "0x191B87C", Offset = "0x191B87C", Length = "0xB8")]
20 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
21 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Telepathy.Client", Member = "Connect", MemberParameters = new object[]
23 {
24 typeof(string),
25 typeof(int)
26 }, ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Telepathy.Common", Member = ".ctor", ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Telepathy.Server", Member = "Start", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
33 {
34 throw null;
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x6002F58")]
38 [global::Cpp2ILInjected.Address(RVA = "0x191B934", Offset = "0x191B934", Length = "0xF4")]
39 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
40 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "CopyTo", MemberParameters = new object[]
43 {
44 typeof(global::System.Array),
45 typeof(int)
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
49 private void System.Collections.ICollection.CopyTo(global::System.Array array, int index)
50 {
51 throw null;
52 }
53
54 [global::Cpp2ILInjected.Token(Token = "0x1700077D")]
56 {
57 [global::Cpp2ILInjected.Token(Token = "0x6002F59")]
58 [global::Cpp2ILInjected.Address(RVA = "0x191BA28", Offset = "0x191BA28", Length = "0x8")]
59 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
61 get
62 {
63 throw null;
64 }
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x1700077E")]
69 {
70 [global::Cpp2ILInjected.Token(Token = "0x6002F5A")]
71 [global::Cpp2ILInjected.Address(RVA = "0x191BA30", Offset = "0x191BA30", Length = "0x4C")]
72 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
76 get
77 {
78 throw null;
79 }
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x6002F5B")]
83 [global::Cpp2ILInjected.Address(RVA = "0x191BA7C", Offset = "0x191BA7C", Length = "0x80")]
84 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
87 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
89 {
90 throw null;
91 }
92
93 [global::Cpp2ILInjected.Token(Token = "0x6002F5C")]
94 [global::Cpp2ILInjected.Address(RVA = "0x191BAFC", Offset = "0x191BAFC", Length = "0x24")]
95 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
96 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
97 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
99 {
100 throw null;
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x6002F5D")]
104 [global::Cpp2ILInjected.Address(RVA = "0x191BB20", Offset = "0x191BB20", Length = "0x14")]
105 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
107 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x6002F5E")]
114 [global::Cpp2ILInjected.Address(RVA = "0x191BB34", Offset = "0x191BB34", Length = "0x324")]
115 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
116 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
117 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
118 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
119 public T[] ToArray()
120 {
121 throw null;
122 }
123
124 [global::Cpp2ILInjected.Token(Token = "0x1700077F")]
125 public int Count
126 {
127 [global::Cpp2ILInjected.Token(Token = "0x6002F5F")]
128 [global::Cpp2ILInjected.Address(RVA = "0x191BE58", Offset = "0x191BE58", Length = "0x234")]
129 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
130 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Telepathy.Common", Member = "get_ReceiveQueueCount", ReturnType = typeof(int))]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Telepathy.Common", Member = "ReceiveLoop", MemberParameters = new object[]
133 {
134 typeof(int),
135 "System.Net.Sockets.TcpClient",
136 "System.Collections.Concurrent.ConcurrentQueue`1<Message>",
137 typeof(int)
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SpinWait), Member = "SpinOnce", ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
142 get
143 {
144 throw null;
145 }
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x6002F60")]
149 [global::Cpp2ILInjected.Address(RVA = "0x191C08C", Offset = "0x191C08C", Length = "0xB8")]
150 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
151 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
152 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
153 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
154 private static int GetCount(ConcurrentQueue<T>.Segment s, int head, int tail)
155 {
156 throw null;
157 }
158
159 [global::Cpp2ILInjected.Token(Token = "0x6002F61")]
160 [global::Cpp2ILInjected.Address(RVA = "0x191C144", Offset = "0x191C144", Length = "0x1AC")]
161 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
162 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
163 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
166 {
167 throw null;
168 }
169
170 [global::Cpp2ILInjected.Token(Token = "0x6002F62")]
171 [global::Cpp2ILInjected.Address(RVA = "0x191C2F0", Offset = "0x191C2F0", Length = "0x3C0")]
172 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
173 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
177 {
178 typeof(string),
179 typeof(string)
180 }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
182 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
183 public void CopyTo(T[] array, int index)
184 {
185 throw null;
186 }
187
188 [global::Cpp2ILInjected.Token(Token = "0x6002F63")]
189 [global::Cpp2ILInjected.Address(RVA = "0x191C6B0", Offset = "0x191C6B0", Length = "0x70")]
190 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
191 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
192 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
193 public global::System.Collections.Generic.IEnumerator<T> GetEnumerator()
194 {
195 throw null;
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x6002F64")]
199 [global::Cpp2ILInjected.Address(RVA = "0x191C720", Offset = "0x191C720", Length = "0x158")]
200 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
201 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
202 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
204 {
205 typeof(object),
206 typeof(ref bool)
207 }, ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
211 {
212 throw null;
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x6002F65")]
216 [global::Cpp2ILInjected.Address(RVA = "0x191C878", Offset = "0x191C878", Length = "0xBC")]
217 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
218 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
219 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SpinWait), Member = "SpinOnce", ReturnType = typeof(void))]
221 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
223 {
224 throw null;
225 }
226
227 [global::Cpp2ILInjected.Token(Token = "0x6002F66")]
228 [global::Cpp2ILInjected.Address(RVA = "0x191C934", Offset = "0x191C934", Length = "0x90")]
229 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
230 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
231 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
232 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
233 private global::System.Collections.Generic.IEnumerator<T> Enumerate(ConcurrentQueue<T>.Segment head, int headHead, ConcurrentQueue<T>.Segment tail, int tailTail)
234 {
235 throw null;
236 }
237
238 [global::Cpp2ILInjected.Token(Token = "0x6002F67")]
239 [global::Cpp2ILInjected.Address(RVA = "0x191C9C4", Offset = "0x191C9C4", Length = "0x84")]
240 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
241 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
242 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Telepathy.Client", Member = "ReceiveThreadFunction", MemberParameters = new object[]
243 {
244 typeof(string),
245 typeof(int)
246 }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Telepathy.Common", Member = "ReceiveLoop", MemberParameters = new object[]
248 {
249 typeof(int),
250 "System.Net.Sockets.TcpClient",
251 "System.Collections.Concurrent.ConcurrentQueue`1<Message>",
252 typeof(int)
253 }, ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
255 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
256 public void Enqueue(T item)
257 {
258 throw null;
259 }
260
261 [global::Cpp2ILInjected.Token(Token = "0x6002F68")]
262 [global::Cpp2ILInjected.Address(RVA = "0x191CA48", Offset = "0x191CA48", Length = "0x21C")]
263 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
264 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
265 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
266 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
267 {
268 typeof(object),
269 typeof(ref bool)
270 }, ReturnType = typeof(void))]
271 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
272 {
273 typeof(int),
274 typeof(int)
275 }, ReturnType = typeof(int))]
276 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
277 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
278 private void EnqueueSlow(T item)
279 {
280 throw null;
281 }
282
283 [global::Cpp2ILInjected.Token(Token = "0x6002F69")]
284 [global::Cpp2ILInjected.Address(RVA = "0x191CC64", Offset = "0x191CC64", Length = "0x7C")]
285 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
286 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Telepathy.Common", Member = "GetNextMessage", MemberParameters = new object[] { "Telepathy.Message&" }, ReturnType = typeof(bool))]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
289 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
290 public bool TryDequeue(out T result)
291 {
292 throw null;
293 }
294
295 [global::Cpp2ILInjected.Token(Token = "0x6002F6A")]
296 [global::Cpp2ILInjected.Address(RVA = "0x191CCE0", Offset = "0x191CCE0", Length = "0x168")]
297 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
298 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
299 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
300 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
301 {
302 typeof(object),
303 typeof(ref bool)
304 }, ReturnType = typeof(void))]
305 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
306 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
307 private bool TryDequeueSlow(out T item)
308 {
309 throw null;
310 }
311
312 [global::Cpp2ILInjected.Token(Token = "0x4001A12")]
313 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
314 private object _crossSegmentLock;
315
316 [global::Cpp2ILInjected.Token(Token = "0x4001A13")]
317 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
319
320 [global::Cpp2ILInjected.Token(Token = "0x4001A14")]
321 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
323
324 [global::System.Diagnostics.DebuggerDisplay("Capacity = {Capacity}")]
325 [global::Cpp2ILInjected.Token(Token = "0x2000611")]
326 internal sealed class Segment
327 {
328 [global::Cpp2ILInjected.Token(Token = "0x6002F6B")]
329 [global::Cpp2ILInjected.Address(RVA = "0x18637EC", Offset = "0x18637EC", Length = "0x7C")]
330 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
331 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
332 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
333 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
334 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
336 {
337 throw null;
338 }
339
340 [global::Cpp2ILInjected.Token(Token = "0x17000780")]
341 internal int Capacity
342 {
343 [global::Cpp2ILInjected.Token(Token = "0x6002F6C")]
344 [global::Cpp2ILInjected.Address(RVA = "0x1863868", Offset = "0x1863868", Length = "0xC")]
345 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
346 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
347 get
348 {
349 throw null;
350 }
351 }
352
353 [global::Cpp2ILInjected.Token(Token = "0x17000781")]
354 internal int FreezeOffset
355 {
356 [global::Cpp2ILInjected.Token(Token = "0x6002F6D")]
357 [global::Cpp2ILInjected.Address(RVA = "0x1863874", Offset = "0x1863874", Length = "0x10")]
358 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
359 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
360 get
361 {
362 throw null;
363 }
364 }
365
366 [global::Cpp2ILInjected.Token(Token = "0x6002F6E")]
367 [global::Cpp2ILInjected.Address(RVA = "0x1863884", Offset = "0x1863884", Length = "0x8C")]
368 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
369 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
370 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
371 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Interlocked), Member = "CompareExchange", MemberParameters = new object[]
372 {
373 typeof(ref int),
374 typeof(int),
375 typeof(int)
376 }, ReturnType = typeof(int))]
377 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SpinWait), Member = "SpinOnce", ReturnType = typeof(void))]
378 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
380 {
381 throw null;
382 }
383
384 [global::Cpp2ILInjected.Token(Token = "0x6002F6F")]
385 [global::Cpp2ILInjected.Address(RVA = "0x1863910", Offset = "0x1863910", Length = "0x13C")]
386 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
387 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
388 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
389 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Interlocked), Member = "CompareExchange", MemberParameters = new object[]
390 {
391 typeof(ref int),
392 typeof(int),
393 typeof(int)
394 }, ReturnType = typeof(int))]
395 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SpinWait), Member = "SpinOnce", ReturnType = typeof(void))]
396 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
397 public bool TryDequeue(out T item)
398 {
399 throw null;
400 }
401
402 [global::Cpp2ILInjected.Token(Token = "0x6002F70")]
403 [global::Cpp2ILInjected.Address(RVA = "0x1863A4C", Offset = "0x1863A4C", Length = "0xD4")]
404 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
405 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
406 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
407 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Interlocked), Member = "CompareExchange", MemberParameters = new object[]
408 {
409 typeof(ref int),
410 typeof(int),
411 typeof(int)
412 }, ReturnType = typeof(int))]
413 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SpinWait), Member = "SpinOnce", ReturnType = typeof(void))]
414 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
415 public bool TryEnqueue(T item)
416 {
417 throw null;
418 }
419
420 [global::Cpp2ILInjected.Token(Token = "0x4001A15")]
421 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
423
424 [global::Cpp2ILInjected.Token(Token = "0x4001A16")]
425 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
426 internal readonly int _slotsMask;
427
428 [global::Cpp2ILInjected.Token(Token = "0x4001A17")]
429 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
431
432 [global::Cpp2ILInjected.Token(Token = "0x4001A18")]
433 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
435
436 [global::Cpp2ILInjected.Token(Token = "0x4001A19")]
437 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
438 internal bool _frozenForEnqueues;
439
440 [global::Cpp2ILInjected.Token(Token = "0x4001A1A")]
441 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
443
444 [global::System.Diagnostics.DebuggerDisplay("Item = {Item}, SequenceNumber = {SequenceNumber}")]
445 [global::Cpp2ILInjected.Token(Token = "0x2000612")]
446 [StructLayout(3)]
447 internal struct Slot
448 {
449 [global::Cpp2ILInjected.Token(Token = "0x4001A1B")]
450 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
451 public T Item;
452
453 [global::Cpp2ILInjected.Token(Token = "0x4001A1C")]
454 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
455 public int SequenceNumber;
456 }
457 }
458
459 [global::System.Runtime.CompilerServices.CompilerGenerated]
460 [global::Cpp2ILInjected.Token(Token = "0x2000613")]
461 private sealed class <Enumerate>d__28 : global::System.Collections.Generic.IEnumerator<T>, global::System.IDisposable, IEnumerator
462 {
463 [global::System.Diagnostics.DebuggerHidden]
464 [global::Cpp2ILInjected.Token(Token = "0x6002F71")]
465 [global::Cpp2ILInjected.Address(RVA = "0x15B86F8", Offset = "0x15B86F8", Length = "0x28")]
466 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
467 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
468 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
470 {
471 throw null;
472 }
473
474 [global::System.Diagnostics.DebuggerHidden]
475 [global::Cpp2ILInjected.Token(Token = "0x6002F72")]
476 [global::Cpp2ILInjected.Address(RVA = "0x15B8720", Offset = "0x15B8720", Length = "0x4")]
477 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
478 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
479 private void System.IDisposable.Dispose()
480 {
481 throw null;
482 }
483
484 [global::Cpp2ILInjected.Token(Token = "0x6002F73")]
485 [global::Cpp2ILInjected.Address(RVA = "0x15B8724", Offset = "0x15B8724", Length = "0x2D0")]
486 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
487 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
488 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
489 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
490 private bool MoveNext()
491 {
492 throw null;
493 }
494
495 [global::Cpp2ILInjected.Token(Token = "0x17000782")]
497 {
498 [global::System.Diagnostics.DebuggerHidden]
499 [global::Cpp2ILInjected.Token(Token = "0x6002F74")]
500 [global::Cpp2ILInjected.Address(RVA = "0x15B89F4", Offset = "0x15B89F4", Length = "0xC")]
501 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
502 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
503 get
504 {
505 throw null;
506 }
507 }
508
509 [global::System.Diagnostics.DebuggerHidden]
510 [global::Cpp2ILInjected.Token(Token = "0x6002F75")]
511 [global::Cpp2ILInjected.Address(RVA = "0x15B8A00", Offset = "0x15B8A00", Length = "0x38")]
512 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
513 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
514 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
515 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
516 private void System.Collections.IEnumerator.Reset()
517 {
518 throw null;
519 }
520
521 [global::Cpp2ILInjected.Token(Token = "0x17000783")]
523 {
524 [global::System.Diagnostics.DebuggerHidden]
525 [global::Cpp2ILInjected.Token(Token = "0x6002F76")]
526 [global::Cpp2ILInjected.Address(RVA = "0x15B8A38", Offset = "0x15B8A38", Length = "0x3C")]
527 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
528 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
529 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
530 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
531 get
532 {
533 throw null;
534 }
535 }
536
537 [global::Cpp2ILInjected.Token(Token = "0x4001A1D")]
538 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
539 private int <>1__state;
540
541 [global::Cpp2ILInjected.Token(Token = "0x4001A1E")]
542 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
543 private T <>2__current;
544
545 [global::Cpp2ILInjected.Token(Token = "0x4001A1F")]
546 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
547 public ConcurrentQueue<T>.Segment head;
548
549 [global::Cpp2ILInjected.Token(Token = "0x4001A20")]
550 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
551 public ConcurrentQueue<T>.Segment tail;
552
553 [global::Cpp2ILInjected.Token(Token = "0x4001A21")]
554 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
555 public int tailTail;
556
557 [global::Cpp2ILInjected.Token(Token = "0x4001A22")]
558 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
559 public int headHead;
560
561 [global::Cpp2ILInjected.Token(Token = "0x4001A23")]
562 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
563 public ConcurrentQueue<T> <>4__this;
564
565 [global::Cpp2ILInjected.Token(Token = "0x4001A24")]
566 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
567 private int <headTail>5__2;
568
569 [global::Cpp2ILInjected.Token(Token = "0x4001A25")]
570 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
571 private int <i>5__3;
572
573 [global::Cpp2ILInjected.Token(Token = "0x4001A26")]
574 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
576
577 [global::Cpp2ILInjected.Token(Token = "0x4001A27")]
578 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
579 private int <i>5__5;
580 }
581 }
582}
class f__AnonymousType0<< Count > j__TPar
readonly ConcurrentQueue< T >.Segment.Slot[] _slots
void SnapForObservation(out ConcurrentQueue< T >.Segment head, out int headHead, out ConcurrentQueue< T >.Segment tail, out int tailTail)
static long GetCount(ConcurrentQueue< T >.Segment head, int headHead, ConcurrentQueue< T >.Segment tail, int tailTail)
T GetItemWhenAvailable(ConcurrentQueue< T >.Segment segment, int i)
static int GetCount(ConcurrentQueue< T >.Segment s, int head, int tail)
global::System.Collections.Generic.IEnumerator< T > GetEnumerator()
global::System.Collections.Generic.IEnumerator< T > Enumerate(ConcurrentQueue< T >.Segment head, int headHead, ConcurrentQueue< T >.Segment tail, int tailTail)
void CopyTo(global::System.Array array, int index)