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
LinkedList.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000430 RID: 1072
10 [DebuggerDisplay("Count = {Count}")]
13 {
14 // Token: 0x06001CFD RID: 7421 RVA: 0x0004EC80 File Offset: 0x0004CE80
15 public LinkedList()
16 {
17 }
18
19 // Token: 0x06001CFE RID: 7422 RVA: 0x0004EC94 File Offset: 0x0004CE94
24
25 // Token: 0x17000682 RID: 1666
26 // (get) Token: 0x06001CFF RID: 7423 RVA: 0x0004ECB0 File Offset: 0x0004CEB0
27 public int Count
28 {
29 get
30 {
31 return this.count;
32 }
33 }
34
35 // Token: 0x17000683 RID: 1667
36 // (get) Token: 0x06001D00 RID: 7424 RVA: 0x0004ECC4 File Offset: 0x0004CEC4
38 {
39 get
40 {
41 return this.head;
42 }
43 }
44
45 // Token: 0x17000684 RID: 1668
46 // (get) Token: 0x06001D01 RID: 7425 RVA: 0x0004ECD8 File Offset: 0x0004CED8
48 {
49 get
50 {
51 }
52 }
53
54 // Token: 0x06001D02 RID: 7426 RVA: 0x0004ECE8 File Offset: 0x0004CEE8
56 {
57 }
58
59 // Token: 0x06001D03 RID: 7427 RVA: 0x0004ECF8 File Offset: 0x0004CEF8
61 {
62 /*
63An exception occurred when decompiling this method (06001D03)
64
65ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.LinkedListNode`1<T> System.Collections.Generic.LinkedList`1::AddAfter(System.Collections.Generic.LinkedListNode`1<T>,T)
66
67 ---> System.Exception: Basic block has to end with unconditional control flow.
68{
69 Block_0:
70 stloc:LinkedList`1(var_0_06, ldfld:class System.Collections.Generic.LinkedList`1<!T>[exp:LinkedList`1](LinkedListNode`1::list, ldloc:class System.Collections.Generic.LinkedListNode`1<!T>[exp:LinkedListNode`1](node)))
71 stloc:LinkedListNode`1(var_1_0D, ldfld:class System.Collections.Generic.LinkedListNode`1<!T>[exp:LinkedListNode`1](LinkedListNode`1::next, ldloc:class System.Collections.Generic.LinkedListNode`1<!T>[exp:LinkedListNode`1](node)))
72}
73
74 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
75 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
76 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
77 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
78 --- End of inner exception stack trace ---
79 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
80 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
81*/;
82 }
83
84 // Token: 0x06001D04 RID: 7428 RVA: 0x0004ED14 File Offset: 0x0004CF14
86 {
87 /*
88An exception occurred when decompiling this method (06001D04)
89
90ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.LinkedListNode`1<T> System.Collections.Generic.LinkedList`1::AddFirst(T)
91
92 ---> System.Exception: Basic block has to end with unconditional control flow.
93{
94 IL_001D:
95 stloc:SerializationInfo(var_2_23, ldfld:SerializationInfo(LinkedList`1::_siInfo, ldloc:LinkedList`1(this)))
96}
97
98 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
99 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
100 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
101 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
102 --- End of inner exception stack trace ---
103 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
104 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
105*/;
106 }
107
108 // Token: 0x06001D05 RID: 7429 RVA: 0x0004ED44 File Offset: 0x0004CF44
110 {
111 /*
112An exception occurred when decompiling this method (06001D05)
113
114ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.LinkedListNode`1<T> System.Collections.Generic.LinkedList`1::AddLast(T)
115
116 ---> System.Exception: Basic block has to end with unconditional control flow.
117{
118 IL_0016:
119 stloc:SerializationInfo(var_2_1C, ldfld:SerializationInfo(LinkedList`1::_siInfo, ldloc:LinkedList`1(this)))
120}
121
122 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
123 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
124 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
125 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
126 --- End of inner exception stack trace ---
127 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
128 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
129*/;
130 }
131
132 // Token: 0x06001D06 RID: 7430 RVA: 0x0004ED70 File Offset: 0x0004CF70
133 public void AddLast(LinkedListNode<T> node)
134 {
135 if (this.head != null)
136 {
137 return;
138 }
139 node.list = this;
140 }
141
142 // Token: 0x06001D07 RID: 7431 RVA: 0x0004ED90 File Offset: 0x0004CF90
143 public void Clear()
144 {
146 if (linkedListNode != null)
147 {
148 while (linkedListNode != null)
149 {
150 }
151 }
152 int num = this.version;
153 this._syncRoot = num;
154 }
155
156 // Token: 0x06001D08 RID: 7432 RVA: 0x00002050 File Offset: 0x00000250
157 public bool Contains(T value)
158 {
159 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
160 }
161
162 // Token: 0x06001D09 RID: 7433 RVA: 0x0004EDB8 File Offset: 0x0004CFB8
163 public void CopyTo(T[] array, int index)
164 {
165 if (array != null)
166 {
168 if (linkedListNode != null)
169 {
172 }
173 return;
174 }
175 }
176
177 // Token: 0x06001D0A RID: 7434 RVA: 0x0004EDE4 File Offset: 0x0004CFE4
179 {
180 /*
181An exception occurred when decompiling this method (06001D0A)
182
183ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.LinkedListNode`1<T> System.Collections.Generic.LinkedList`1::Find(T)
184
185 ---> System.Exception: Basic block has to end with unconditional control flow.
186{
187 Block_0:
188 stloc:!T(var_1_10, ldfld:!T(LinkedListNode`1::item, ldloc:LinkedListNode`1(var_0_06)))
189 stloc:LinkedListNode`1(var_2_17, ldfld:class System.Collections.Generic.LinkedListNode`1<!T>[exp:LinkedListNode`1](LinkedListNode`1::next, ldloc:LinkedListNode`1(var_0_06)))
190 stloc:LinkedListNode`1(var_3_1E, ldfld:class System.Collections.Generic.LinkedListNode`1<!T>[exp:LinkedListNode`1](LinkedList`1::head, ldloc:LinkedList`1(this)))
191}
192
193 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
194 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
195 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
196 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
197 --- End of inner exception stack trace ---
198 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
199 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
200*/;
201 }
202
203 // Token: 0x06001D0B RID: 7435 RVA: 0x00002050 File Offset: 0x00000250
205 {
206 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
207 }
208
209 // Token: 0x06001D0C RID: 7436 RVA: 0x00002050 File Offset: 0x00000250
211 {
212 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
213 }
214
215 // Token: 0x06001D0D RID: 7437 RVA: 0x0004EE14 File Offset: 0x0004D014
216 public bool Remove(T value)
217 {
218 if (this != null)
219 {
220 }
221 return true;
222 }
223
224 // Token: 0x06001D0E RID: 7438 RVA: 0x0004EE28 File Offset: 0x0004D028
225 public void Remove(LinkedListNode<T> node)
226 {
227 }
228
229 // Token: 0x06001D0F RID: 7439 RVA: 0x0004EE38 File Offset: 0x0004D038
231 {
232 while (info == null)
233 {
234 }
235 int num = this.version;
236 info.AddValue("Version", num);
237 int num2 = this.count;
238 info.AddValue("Count", num2);
239 if (this.count != 0)
240 {
241 Type type;
242 info.AddValue("Data", info, type);
243 return;
244 }
245 }
246
247 // Token: 0x06001D10 RID: 7440 RVA: 0x0004EE84 File Offset: 0x0004D084
248 public virtual void OnDeserialization(object sender)
249 {
251 if (siInfo != null)
252 {
253 int @int = siInfo.GetInt32("Version");
254 if (this._siInfo.GetInt32("Count") != 0)
255 {
256 Type type;
257 object value = this._siInfo.GetValue("Data", type);
258 if (value != null && value != null)
259 {
260 return;
261 }
262 throw new InvalidCastException();
263 }
264 else
265 {
266 this.version = @int;
267 }
268 }
269 }
270
271 // Token: 0x06001D11 RID: 7441 RVA: 0x0004EEE4 File Offset: 0x0004D0E4
273 {
274 newNode.next = node;
275 LinkedListNode prev = node.prev;
276 newNode.prev = prev;
279 int num = this.count;
280 this.count = num;
281 }
282
283 // Token: 0x06001D12 RID: 7442 RVA: 0x0004EF28 File Offset: 0x0004D128
285 {
288 int num = this.count;
290 this.count = num;
291 }
292
293 // Token: 0x06001D13 RID: 7443 RVA: 0x0004EF58 File Offset: 0x0004D158
295 {
296 LinkedListNode next = node.next;
297 LinkedListNode prev = node.prev;
298 next.prev = prev;
299 node.prev.next = next;
303 }
304
305 // Token: 0x06001D14 RID: 7444 RVA: 0x0004EFAC File Offset: 0x0004D1AC
307 {
308 while (node != null)
309 {
310 if (node.list == null)
311 {
312 return;
313 }
314 }
315 }
316
317 // Token: 0x06001D15 RID: 7445 RVA: 0x0004EFC8 File Offset: 0x0004D1C8
318 internal void ValidateNode(LinkedListNode<T> node)
319 {
320 if (node != null)
321 {
322 LinkedList list = node.list;
323 return;
324 }
325 }
326
327 // Token: 0x17000685 RID: 1669
328 // (get) Token: 0x06001D16 RID: 7446 RVA: 0x0004EFE0 File Offset: 0x0004D1E0
330 {
331 get
332 {
333 }
334 }
335
336 // Token: 0x17000686 RID: 1670
337 // (get) Token: 0x06001D17 RID: 7447 RVA: 0x0004EFF0 File Offset: 0x0004D1F0
339 {
340 get
341 {
342 /*
343An exception occurred when decompiling this method (06001D17)
344
345ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Collections.Generic.LinkedList`1::System.Collections.ICollection.get_SyncRoot()
346
347 ---> System.Exception: Basic block has to end with unconditional control flow.
348{
349 IL_0000:
350 brtrue(IL_0000, ldfld:object[exp:bool](LinkedList`1::_syncRoot, ldloc:LinkedList`1(this)))
351}
352
353 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
354 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
355 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
356 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
357 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
358 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
359 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
360 --- End of inner exception stack trace ---
361 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
362 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
363*/;
364 }
365 }
366
367 // Token: 0x06001D18 RID: 7448 RVA: 0x0004F004 File Offset: 0x0004D204
369 {
370 if (array == null)
371 {
372 return;
373 }
374 int rank = array.Rank;
375 long num = 0L;
376 if (array.GetLowerBound((int)num) != 0)
377 {
378 return;
379 }
380 int length = array.Length;
381 if (array != null)
382 {
383 return;
384 }
385 if (array != null)
386 {
388 if (linkedListNode != null)
389 {
390 if (array != null && array == null)
391 {
392 throw new ArrayTypeMismatchException();
393 }
396 }
397 return;
398 }
399 }
400
401 // Token: 0x06001D19 RID: 7449 RVA: 0x00002050 File Offset: 0x00000250
403 {
404 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
405 }
406
407 // Token: 0x040013D7 RID: 5079
409
410 // Token: 0x040013D8 RID: 5080
411 internal int count;
412
413 // Token: 0x040013D9 RID: 5081
414 internal int version;
415
416 // Token: 0x040013DA RID: 5082
417 private object _syncRoot;
418
419 // Token: 0x040013DB RID: 5083
421
422 // Token: 0x040013DC RID: 5084
423 private const string VersionName = "Version";
424
425 // Token: 0x040013DD RID: 5085
426 private const string CountName = "Count";
427
428 // Token: 0x040013DE RID: 5086
429 private const string ValuesName = "Data";
430
431 // Token: 0x02000431 RID: 1073
432 [Serializable]
434 {
435 // Token: 0x06001D1A RID: 7450 RVA: 0x0004F068 File Offset: 0x0004D268
437 {
439 int version = list.version;
441 LinkedListNode head = list.head;
443 }
444
445 // Token: 0x06001D1B RID: 7451 RVA: 0x00002050 File Offset: 0x00000250
447 {
448 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
449 }
450
451 // Token: 0x17000687 RID: 1671
452 // (get) Token: 0x06001D1C RID: 7452 RVA: 0x00002050 File Offset: 0x00000250
453 public T Current
454 {
455 get
456 {
457 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
458 }
459 }
460
461 // Token: 0x17000688 RID: 1672
462 // (get) Token: 0x06001D1D RID: 7453 RVA: 0x0004F098 File Offset: 0x0004D298
464 {
465 get
466 {
467 /*
468An exception occurred when decompiling this method (06001D1D)
469
470ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Collections.Generic.LinkedList`1/Enumerator::System.Collections.IEnumerator.get_Current()
471
472 ---> System.Exception: Basic block has to end with unconditional control flow.
473{
474 Block_0:
475 stloc:LinkedListNode`1(var_0_06, ldfld:class System.Collections.Generic.LinkedListNode`1<!T>[exp:LinkedListNode`1](Enumerator::_node, ldloc:valuetype System.Collections.Generic.LinkedList`1/Enumerator&(this)))
476 stloc:int32(var_1_0D, ldfld:int32(Enumerator::_version, ldloc:valuetype System.Collections.Generic.LinkedList`1/Enumerator&(this)))
477}
478
479 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
480 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
481 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
482 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
483 --- End of inner exception stack trace ---
484 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
485 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
486*/;
487 }
488 }
489
490 // Token: 0x06001D1E RID: 7454 RVA: 0x0004F0B4 File Offset: 0x0004D2B4
491 public bool MoveNext()
492 {
493 int version = this._version;
494 LinkedListNode node = this._node;
495 if (node != null)
496 {
497 LinkedListNode next = node.next;
498 this._node = next;
499 return;
500 }
501 }
502
503 // Token: 0x06001D1F RID: 7455 RVA: 0x0004F0E4 File Offset: 0x0004D2E4
505 {
506 int version = this._version;
507 }
508
509 // Token: 0x06001D20 RID: 7456 RVA: 0x0004F0F8 File Offset: 0x0004D2F8
510 public void Dispose()
511 {
512 }
513
514 // Token: 0x06001D21 RID: 7457 RVA: 0x00002050 File Offset: 0x00000250
516 {
517 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
518 }
519
520 // Token: 0x06001D22 RID: 7458 RVA: 0x00002050 File Offset: 0x00000250
522 {
523 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
524 }
525
526 // Token: 0x040013DF RID: 5087
528
529 // Token: 0x040013E0 RID: 5088
531
532 // Token: 0x040013E1 RID: 5089
533 private int _version;
534
535 // Token: 0x040013E2 RID: 5090
536 private T _current;
537
538 // Token: 0x040013E3 RID: 5091
539 private int _index;
540 }
541 }
542}
class f__AnonymousType0<< Count > j__TPar
void AddLast(LinkedListNode< T > node)
void InternalInsertNodeToEmptyList(LinkedListNode< T > newNode)
void Remove(LinkedListNode< T > node)
virtual void OnDeserialization(object sender)
LinkedList< T >.Enumerator GetEnumerator()
void InternalInsertNodeBefore(LinkedListNode< T > node, LinkedListNode< T > newNode)
LinkedList(SerializationInfo info, StreamingContext context)
Definition LinkedList.cs:20
LinkedListNode< T > Find(T value)
LinkedListNode< T > AddFirst(T value)
Definition LinkedList.cs:85
void ValidateNewNode(LinkedListNode< T > node)
void InternalRemoveNode(LinkedListNode< T > node)
LinkedListNode< T > AddAfter(LinkedListNode< T > node, T value)
Definition LinkedList.cs:60
void ValidateNode(LinkedListNode< T > node)
void CopyTo(T[] array, int index)
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
LinkedListNode< T > AddLast(T value)
void AddValue(string name, object value, Type type)
void CopyTo(T[] array, int arrayIndex)
void GetObjectData(SerializationInfo info, StreamingContext context)
Enumerator(SerializationInfo info, StreamingContext context)