terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
ThreadSafeQueue.cs
Go to the documentation of this file.
1using System;
5
6namespace InControl
7{
8 // Token: 0x0200006F RID: 111
9 internal class ThreadSafeQueue<T>
10 {
11 // Token: 0x06000511 RID: 1297 RVA: 0x0000FF88 File Offset: 0x0000E188
13 {
14 this.data = 1;
15 }
16
17 // Token: 0x06000512 RID: 1298 RVA: 0x0000FFA4 File Offset: 0x0000E1A4
19 {
20 this.data = 1;
21 }
22
23 // Token: 0x06000513 RID: 1299 RVA: 0x0000FFC0 File Offset: 0x0000E1C0
24 public void Enqueue(T item)
25 {
26 object obj = this.sync;
27 Queue queue = this.data;
28 long num = 0L;
30 if (num == 0L)
31 {
32 return;
33 }
34 throw new OutOfMemoryException();
35 }
36
37 // Token: 0x06000514 RID: 1300 RVA: 0x00010004 File Offset: 0x0000E204
38 public bool Dequeue([Out] T item)
39 {
40 object obj = this.sync;
41 Queue queue = this.data;
42 Queue queue2 = this.data;
43 long num = 0L;
45 if (num == 0L)
46 {
47 }
48 throw new OutOfMemoryException();
49 }
50
51 // Token: 0x06000515 RID: 1301 RVA: 0x00010050 File Offset: 0x0000E250
52 public T Dequeue()
53 {
54 object obj = this.sync;
55 Queue queue = this.data;
56 Queue queue2 = this.data;
57 long num = 0L;
59 if (num == 0L)
60 {
61 }
62 throw new OutOfMemoryException();
63 }
64
65 // Token: 0x06000516 RID: 1302 RVA: 0x00010098 File Offset: 0x0000E298
66 public int Dequeue(IList<T> list)
67 {
68 object obj = this.sync;
69 Queue queue = this.data;
70 Queue queue2 = this.data;
71 long num = 0L;
73 if (num == 0L)
74 {
75 }
76 throw new OutOfMemoryException();
77 }
78
79 // Token: 0x040003F9 RID: 1017
80 private object sync;
81
82 // Token: 0x040003FA RID: 1018
83 private Queue<T> data;
84 }
85}
class f__AnonymousType0<< Count > j__TPar
int Dequeue(IList< T > list)
bool Dequeue([Out] T item)
static void Exit(object obj)
Definition Monitor.cs:47