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
Stack.cs
Go to the documentation of this file.
1using System;
3using System.IO;
7
9{
10 [global::System.Diagnostics.DebuggerTypeProxy(typeof(StackDebugView<>))]
11 [global::System.Runtime.CompilerServices.TypeForwardedFrom("System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
12 [global::System.Diagnostics.DebuggerDisplay("Count = {Count}")]
13 [global::Cpp2ILInjected.Token(Token = "0x2000647")]
14 [global::System.Serializable]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x600311C")]
18 [global::Cpp2ILInjected.Address(RVA = "0x186F020", Offset = "0x186F020", Length = "0x3C")]
19 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
20 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Internal.Cryptography.Pal.CertificateData.<ReadReverseRdns>d__21", Member = "MoveNext", ReturnType = typeof(bool))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.DtdParser", Member = "ParseElementOnlyContent", MemberParameters = new object[]
24 {
25 "System.Xml.Schema.ParticleContentValidator",
26 typeof(int)
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.Schema.InteriorNode", Member = "ExpandTreeNoRecursive", MemberParameters = new object[] { "System.Xml.Schema.InteriorNode", "System.Xml.Schema.SymbolsDictionary", "System.Xml.Schema.Positions" }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Serialization.JsonSerializerInternalReader", Member = "PopulateMultidimensionalArray", MemberParameters = new object[]
30 {
32 "Newtonsoft.Json.JsonReader",
33 "Newtonsoft.Json.Serialization.JsonArrayContract",
34 "Newtonsoft.Json.Serialization.JsonProperty",
35 typeof(string)
36 }, ReturnType = typeof(object))]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
39 public Stack()
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x170007EB")]
45 public int Count
46 {
47 [global::Cpp2ILInjected.Token(Token = "0x600311D")]
48 [global::Cpp2ILInjected.Address(RVA = "0x186F05C", Offset = "0x186F05C", Length = "0x8")]
49 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
51 get
52 {
53 throw null;
54 }
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x170007EC")]
59 {
60 [global::Cpp2ILInjected.Token(Token = "0x600311E")]
61 [global::Cpp2ILInjected.Address(RVA = "0x186F064", Offset = "0x186F064", Length = "0x8")]
62 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
64 get
65 {
66 throw null;
67 }
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x170007ED")]
72 {
73 [global::Cpp2ILInjected.Token(Token = "0x600311F")]
74 [global::Cpp2ILInjected.Address(RVA = "0x186F06C", Offset = "0x186F06C", Length = "0x70")]
75 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
79 get
80 {
81 throw null;
82 }
83 }
84
85 [global::Cpp2ILInjected.Token(Token = "0x6003120")]
86 [global::Cpp2ILInjected.Address(RVA = "0x186F0DC", Offset = "0x186F0DC", Length = "0x2A4")]
87 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
88 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
89 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Rank", ReturnType = typeof(int))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "GetLowerBound", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Length", ReturnType = typeof(int))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Copy", MemberParameters = new object[]
94 {
95 typeof(global::System.Array),
96 typeof(int),
97 typeof(global::System.Array),
98 typeof(int),
99 typeof(int)
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Reverse", MemberParameters = new object[]
102 {
103 typeof(global::System.Array),
104 typeof(int),
105 typeof(int)
106 }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
108 {
109 typeof(string),
110 typeof(object),
111 typeof(string)
112 }, ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
116 {
117 typeof(string),
118 typeof(string)
119 }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 33)]
121 private void System.Collections.ICollection.CopyTo(global::System.Array array, int arrayIndex)
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x6003121")]
127 [global::Cpp2ILInjected.Address(RVA = "0x186F380", Offset = "0x186F380", Length = "0x68")]
128 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
129 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stack<>.Enumerator), Member = ".ctor", MemberParameters = new object[] { "System.Collections.Generic.Stack`1<T>" }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x6003122")]
139 [global::Cpp2ILInjected.Address(RVA = "0x186F3E8", Offset = "0x186F3E8", Length = "0x68")]
140 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
141 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stack<>.Enumerator), Member = ".ctor", MemberParameters = new object[] { "System.Collections.Generic.Stack`1<T>" }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
146 {
147 throw null;
148 }
149
150 [global::Cpp2ILInjected.Token(Token = "0x6003123")]
151 [global::Cpp2ILInjected.Address(RVA = "0x186F450", Offset = "0x186F450", Length = "0x48")]
152 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
153 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.DtdParser", Member = "ParseElementOnlyContent", MemberParameters = new object[]
155 {
156 "System.Xml.Schema.ParticleContentValidator",
157 typeof(int)
158 }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Serialization.JsonSerializerInternalReader", Member = "PopulateMultidimensionalArray", MemberParameters = new object[]
160 {
161 typeof(IList),
162 "Newtonsoft.Json.JsonReader",
163 "Newtonsoft.Json.Serialization.JsonArrayContract",
164 "Newtonsoft.Json.Serialization.JsonProperty",
165 typeof(string)
166 }, ReturnType = typeof(object))]
167 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
168 public T Peek()
169 {
170 throw null;
171 }
172
173 [global::Cpp2ILInjected.Token(Token = "0x6003124")]
174 [global::Cpp2ILInjected.Address(RVA = "0x186F498", Offset = "0x186F498", Length = "0x60")]
175 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
176 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
177 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Internal.Cryptography.Pal.CertificateData.<ReadReverseRdns>d__21", Member = "MoveNext", ReturnType = typeof(bool))]
179 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.DtdParser", Member = "ParseElementOnlyContent", MemberParameters = new object[]
180 {
181 "System.Xml.Schema.ParticleContentValidator",
182 typeof(int)
183 }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.Schema.InteriorNode", Member = "ExpandTreeNoRecursive", MemberParameters = new object[] { "System.Xml.Schema.InteriorNode", "System.Xml.Schema.SymbolsDictionary", "System.Xml.Schema.Positions" }, ReturnType = typeof(void))]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Serialization.JsonSerializerInternalReader", Member = "PopulateMultidimensionalArray", MemberParameters = new object[]
186 {
187 typeof(IList),
188 "Newtonsoft.Json.JsonReader",
189 "Newtonsoft.Json.Serialization.JsonArrayContract",
190 "Newtonsoft.Json.Serialization.JsonProperty",
191 typeof(string)
192 }, ReturnType = typeof(object))]
193 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
194 public T Pop()
195 {
196 throw null;
197 }
198
199 [global::Cpp2ILInjected.Token(Token = "0x6003125")]
200 [global::Cpp2ILInjected.Address(RVA = "0x186F4F8", Offset = "0x186F4F8", Length = "0x44")]
201 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
202 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Internal.Cryptography.Pal.CertificateData.<ReadReverseRdns>d__21", Member = "MoveNext", ReturnType = typeof(bool))]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.DtdParser", Member = "ParseElementOnlyContent", MemberParameters = new object[]
206 {
207 "System.Xml.Schema.ParticleContentValidator",
208 typeof(int)
209 }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.Schema.InteriorNode", Member = "ExpandTreeNoRecursive", MemberParameters = new object[] { "System.Xml.Schema.InteriorNode", "System.Xml.Schema.SymbolsDictionary", "System.Xml.Schema.Positions" }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Serialization.JsonSerializerInternalReader", Member = "PopulateMultidimensionalArray", MemberParameters = new object[]
212 {
213 typeof(IList),
214 "Newtonsoft.Json.JsonReader",
215 "Newtonsoft.Json.Serialization.JsonArrayContract",
216 "Newtonsoft.Json.Serialization.JsonProperty",
217 typeof(string)
218 }, ReturnType = typeof(object))]
219 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
220 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
221 public void Push(T item)
222 {
223 throw null;
224 }
225
226 [global::Cpp2ILInjected.Token(Token = "0x6003126")]
227 [global::Cpp2ILInjected.Address(RVA = "0x186F53C", Offset = "0x186F53C", Length = "0x6C")]
228 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
229 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
230 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
231 [MethodImpl(8)]
232 private void PushWithResize(T item)
233 {
234 throw null;
235 }
236
237 [global::Cpp2ILInjected.Token(Token = "0x6003127")]
238 [global::Cpp2ILInjected.Address(RVA = "0x186F5A8", Offset = "0x186F5A8", Length = "0x4C")]
239 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
240 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
242 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
243 private void ThrowForEmptyStack()
244 {
245 throw null;
246 }
247
248 [global::Cpp2ILInjected.Token(Token = "0x4001A95")]
249 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
250 private T[] _array;
251
252 [global::Cpp2ILInjected.Token(Token = "0x4001A96")]
253 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
254 private int _size;
255
256 [global::Cpp2ILInjected.Token(Token = "0x4001A97")]
257 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
258 private int _version;
259
260 [global::Cpp2ILInjected.Token(Token = "0x4001A98")]
261 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
262 [global::System.NonSerialized]
263 private object _syncRoot;
264
265 [global::Cpp2ILInjected.Token(Token = "0x2000648")]
266 [global::System.Serializable]
267 public struct Enumerator : IEnumerator<T>, global::System.IDisposable, IEnumerator
268 {
269 [global::Cpp2ILInjected.Token(Token = "0x6003128")]
270 [global::Cpp2ILInjected.Address(RVA = "0x1648A18", Offset = "0x1648A18", Length = "0x18")]
271 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
272 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stack<>), Member = "System.Collections.Generic.IEnumerable<T>.GetEnumerator", ReturnType = "System.Collections.Generic.IEnumerator`1<T>")]
273 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stack<>), Member = "System.Collections.IEnumerable.GetEnumerator", ReturnType = typeof(IEnumerator))]
274 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
276 {
277 throw null;
278 }
279
280 [global::Cpp2ILInjected.Token(Token = "0x6003129")]
281 [global::Cpp2ILInjected.Address(RVA = "0x1648A30", Offset = "0x1648A30", Length = "0xC")]
282 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
283 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
284 public void Dispose()
285 {
286 throw null;
287 }
288
289 [global::Cpp2ILInjected.Token(Token = "0x600312A")]
290 [global::Cpp2ILInjected.Address(RVA = "0x1648A3C", Offset = "0x1648A3C", Length = "0xC4")]
291 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
292 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
293 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
295 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
296 public bool MoveNext()
297 {
298 throw null;
299 }
300
301 [global::Cpp2ILInjected.Token(Token = "0x170007EE")]
302 public T Current
303 {
304 [global::Cpp2ILInjected.Token(Token = "0x600312B")]
305 [global::Cpp2ILInjected.Address(RVA = "0x1648B00", Offset = "0x1648B00", Length = "0x34")]
306 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
307 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stack<>.Enumerator), Member = "System.Collections.IEnumerator.get_Current", ReturnType = typeof(object))]
308 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stack<>.Enumerator), Member = "ThrowEnumerationNotStartedOrEnded", ReturnType = typeof(void))]
310 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
311 get
312 {
313 throw null;
314 }
315 }
316
317 [global::Cpp2ILInjected.Token(Token = "0x600312C")]
318 [global::Cpp2ILInjected.Address(RVA = "0x1648B34", Offset = "0x1648B34", Length = "0x64")]
319 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
320 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
321 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stack<>.Enumerator), Member = "get_Current", ReturnType = "T")]
322 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
324 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
326 {
327 throw null;
328 }
329
330 [global::Cpp2ILInjected.Token(Token = "0x170007EF")]
332 {
333 [global::Cpp2ILInjected.Token(Token = "0x600312D")]
334 [global::Cpp2ILInjected.Address(RVA = "0x1648B98", Offset = "0x1648B98", Length = "0x34")]
335 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
336 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
337 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stack<>.Enumerator), Member = "get_Current", ReturnType = "T")]
338 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
339 get
340 {
341 throw null;
342 }
343 }
344
345 [global::Cpp2ILInjected.Token(Token = "0x600312E")]
346 [global::Cpp2ILInjected.Address(RVA = "0x1648BCC", Offset = "0x1648BCC", Length = "0x74")]
347 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
348 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
349 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
350 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
351 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
353 {
354 throw null;
355 }
356
357 [global::Cpp2ILInjected.Token(Token = "0x4001A99")]
358 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
360
361 [global::Cpp2ILInjected.Token(Token = "0x4001A9A")]
362 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
363 private readonly int _version;
364
365 [global::Cpp2ILInjected.Token(Token = "0x4001A9B")]
366 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
367 private int _index;
368
369 [global::Cpp2ILInjected.Token(Token = "0x4001A9C")]
370 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
372 }
373 }
374}
class f__AnonymousType0<< Count > j__TPar
void CopyTo(global::System.Array array, int index)