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
List.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x0200063A RID: 1594
9 [DebuggerDisplay("Count = {Count}")]
13 {
14 // Token: 0x060030A3 RID: 12451 RVA: 0x0006A7E8 File Offset: 0x000689E8
15 public List()
16 {
17 }
18
19 // Token: 0x060030A4 RID: 12452 RVA: 0x0006A7FC File Offset: 0x000689FC
20 public List(int capacity)
21 {
22 if (capacity == 0)
23 {
24 return;
25 }
26 this._items = 12;
27 }
28
29 // Token: 0x060030A5 RID: 12453 RVA: 0x0006A824 File Offset: 0x00068A24
31 {
32 if (collection == null)
33 {
34 }
35 if (collection != null)
36 {
37 return;
38 }
39 }
40
41 // Token: 0x170007D6 RID: 2006
42 // (get) Token: 0x060030A6 RID: 12454 RVA: 0x0000207A File Offset: 0x0000027A
43 // (set) Token: 0x060030A7 RID: 12455 RVA: 0x0006A858 File Offset: 0x00068A58
44 public int Capacity
45 {
46 get
47 {
48 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
49 }
50 set
51 {
52 int size = this._size;
54 }
55 }
56
57 // Token: 0x170007D7 RID: 2007
58 // (get) Token: 0x060030A8 RID: 12456 RVA: 0x0006A87C File Offset: 0x00068A7C
59 public int Count
60 {
61 get
62 {
63 return this._size;
64 }
65 }
66
67 // Token: 0x170007D8 RID: 2008
68 // (get) Token: 0x060030A9 RID: 12457 RVA: 0x0006A890 File Offset: 0x00068A90
70 {
71 get
72 {
73 }
74 }
75
76 // Token: 0x170007D9 RID: 2009
77 // (get) Token: 0x060030AA RID: 12458 RVA: 0x0006A8A0 File Offset: 0x00068AA0
79 {
80 get
81 {
82 }
83 }
84
85 // Token: 0x170007DA RID: 2010
86 // (get) Token: 0x060030AB RID: 12459 RVA: 0x0006A8B0 File Offset: 0x00068AB0
88 {
89 get
90 {
91 }
92 }
93
94 // Token: 0x170007DB RID: 2011
95 // (get) Token: 0x060030AC RID: 12460 RVA: 0x0006A8C0 File Offset: 0x00068AC0
97 {
98 get
99 {
100 }
101 }
102
103 // Token: 0x170007DC RID: 2012
104 // (get) Token: 0x060030AD RID: 12461 RVA: 0x0006A8D0 File Offset: 0x00068AD0
106 {
107 get
108 {
109 /*
110An exception occurred when decompiling this method (060030AD)
111
112ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Collections.Generic.List`1::System.Collections.ICollection.get_SyncRoot()
113
114 ---> System.Exception: Basic block has to end with unconditional control flow.
115{
116 IL_0000:
117 brtrue(IL_0000, ldfld:object[exp:bool](List`1::_syncRoot, ldloc:List`1(this)))
118}
119
120 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
121 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
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 1878
123 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
124 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
125 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
126 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
127 --- End of inner exception stack trace ---
128 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
129 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
130*/;
131 }
132 }
133
134 // Token: 0x170007DD RID: 2013
135 public T this[int index]
136 {
137 get
138 {
139 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
140 }
141 set
142 {
143 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
144 }
145 }
146
147 // Token: 0x060030B0 RID: 12464 RVA: 0x0006A8E4 File Offset: 0x00068AE4
148 private static bool IsCompatibleObject(object value)
149 {
150 if (value != null)
151 {
152 return true;
153 }
154 }
155
156 // Token: 0x170007DE RID: 2014
157 object IList.this[int index]
158 {
159 get
160 {
161 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
162 }
163 set
164 {
165 }
166 }
167
168 // Token: 0x060030B3 RID: 12467 RVA: 0x0000207A File Offset: 0x0000027A
169 public void Add(T item)
170 {
171 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
172 }
173
174 // Token: 0x060030B4 RID: 12468 RVA: 0x0000207A File Offset: 0x0000027A
175 private void AddWithResize(T item)
176 {
177 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
178 }
179
180 // Token: 0x060030B5 RID: 12469 RVA: 0x0006A918 File Offset: 0x00068B18
181 int IList.Add(object item)
182 {
183 throw new InvalidCastException();
184 }
185
186 // Token: 0x060030B6 RID: 12470 RVA: 0x0006A93C File Offset: 0x00068B3C
188 {
189 int size = this._size;
190 }
191
192 // Token: 0x060030B7 RID: 12471 RVA: 0x0000207A File Offset: 0x0000027A
194 {
195 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
196 }
197
198 // Token: 0x060030B8 RID: 12472 RVA: 0x0000207A File Offset: 0x0000027A
199 public void Clear()
200 {
201 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
202 }
203
204 // Token: 0x060030B9 RID: 12473 RVA: 0x0006A950 File Offset: 0x00068B50
205 public bool Contains(T item)
206 {
207 if (this._size != 0)
208 {
209 return;
210 }
211 }
212
213 // Token: 0x060030BA RID: 12474 RVA: 0x0006A968 File Offset: 0x00068B68
214 bool IList.Contains(object item)
215 {
216 throw new InvalidCastException();
217 }
218
219 // Token: 0x060030BB RID: 12475 RVA: 0x0006A97C File Offset: 0x00068B7C
220 public void CopyTo(T[] array)
221 {
222 }
223
224 // Token: 0x060030BC RID: 12476 RVA: 0x0000207A File Offset: 0x0000027A
226 {
227 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
228 }
229
230 // Token: 0x060030BD RID: 12477 RVA: 0x0000207A File Offset: 0x0000027A
231 public void CopyTo(T[] array, int arrayIndex)
232 {
233 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
234 }
235
236 // Token: 0x060030BE RID: 12478 RVA: 0x0000207A File Offset: 0x0000027A
237 private void EnsureCapacity(int min)
238 {
239 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
240 }
241
242 // Token: 0x060030BF RID: 12479 RVA: 0x0000207A File Offset: 0x0000027A
244 {
245 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
246 }
247
248 // Token: 0x060030C0 RID: 12480 RVA: 0x0000207A File Offset: 0x0000027A
250 {
251 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
252 }
253
254 // Token: 0x060030C1 RID: 12481 RVA: 0x0000207A File Offset: 0x0000027A
256 {
257 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
258 }
259
260 // Token: 0x060030C2 RID: 12482 RVA: 0x0000207A File Offset: 0x0000027A
262 {
263 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
264 }
265
266 // Token: 0x060030C3 RID: 12483 RVA: 0x0000207A File Offset: 0x0000027A
268 {
269 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
270 }
271
272 // Token: 0x060030C4 RID: 12484 RVA: 0x0000207A File Offset: 0x0000027A
273 public int IndexOf(T item)
274 {
275 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
276 }
277
278 // Token: 0x060030C5 RID: 12485 RVA: 0x0006A98C File Offset: 0x00068B8C
279 int IList.IndexOf(object item)
280 {
281 throw new InvalidCastException();
282 }
283
284 // Token: 0x060030C6 RID: 12486 RVA: 0x0000207A File Offset: 0x0000027A
285 public void Insert(int index, T item)
286 {
287 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
288 }
289
290 // Token: 0x060030C7 RID: 12487 RVA: 0x0006A9A0 File Offset: 0x00068BA0
291 void IList.Insert(int index, object item)
292 {
293 }
294
295 // Token: 0x060030C8 RID: 12488 RVA: 0x0000207A File Offset: 0x0000027A
297 {
298 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
299 }
300
301 // Token: 0x060030C9 RID: 12489 RVA: 0x0006A9C0 File Offset: 0x00068BC0
302 public bool Remove(T item)
303 {
304 return true;
305 }
306
307 // Token: 0x060030CA RID: 12490 RVA: 0x0006A9D0 File Offset: 0x00068BD0
308 void IList.Remove(object item)
309 {
310 }
311
312 // Token: 0x060030CB RID: 12491 RVA: 0x0000207A File Offset: 0x0000027A
314 {
315 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
316 }
317
318 // Token: 0x060030CC RID: 12492 RVA: 0x0000207A File Offset: 0x0000027A
319 public void RemoveAt(int index)
320 {
321 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
322 }
323
324 // Token: 0x060030CD RID: 12493 RVA: 0x0000207A File Offset: 0x0000027A
325 public void RemoveRange(int index, int count)
326 {
327 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
328 }
329
330 // Token: 0x060030CE RID: 12494 RVA: 0x0006A9E4 File Offset: 0x00068BE4
331 public void Reverse()
332 {
333 }
334
335 // Token: 0x060030CF RID: 12495 RVA: 0x0000207A File Offset: 0x0000027A
336 public void Reverse(int index, int count)
337 {
338 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
339 }
340
341 // Token: 0x060030D0 RID: 12496 RVA: 0x0006A9F4 File Offset: 0x00068BF4
342 public void Sort()
343 {
344 }
345
346 // Token: 0x060030D1 RID: 12497 RVA: 0x0006AA04 File Offset: 0x00068C04
348 {
349 }
350
351 // Token: 0x060030D2 RID: 12498 RVA: 0x0000207A File Offset: 0x0000027A
352 public void Sort(int index, int count, IComparer<T> comparer)
353 {
354 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
355 }
356
357 // Token: 0x060030D3 RID: 12499 RVA: 0x0000207A File Offset: 0x0000027A
359 {
360 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
361 }
362
363 // Token: 0x060030D4 RID: 12500 RVA: 0x0000207A File Offset: 0x0000027A
364 public T[] ToArray()
365 {
366 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
367 }
368
369 // Token: 0x060030D5 RID: 12501 RVA: 0x0000207A File Offset: 0x0000027A
370 public void TrimExcess()
371 {
372 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
373 }
374
375 // Token: 0x060030D6 RID: 12502 RVA: 0x0000207A File Offset: 0x0000027A
376 private void AddEnumerable(IEnumerable<T> enumerable)
377 {
378 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
379 }
380
381 // Token: 0x060030D7 RID: 12503 RVA: 0x0006AA14 File Offset: 0x00068C14
382 // Note: this type is marked as 'beforefieldinit'.
383 static List()
384 {
385 }
386
387 // Token: 0x04001A6F RID: 6767
388 private const int DefaultCapacity = 4;
389
390 // Token: 0x04001A70 RID: 6768
391 private T[] _items;
392
393 // Token: 0x04001A71 RID: 6769
394 private int _size;
395
396 // Token: 0x04001A72 RID: 6770
397 private int _version;
398
399 // Token: 0x04001A73 RID: 6771
401 private object _syncRoot;
402
403 // Token: 0x04001A74 RID: 6772
404 private static readonly T[] s_emptyArray;
405
406 // Token: 0x0200063B RID: 1595
407 [Serializable]
409 {
410 // Token: 0x060030D8 RID: 12504 RVA: 0x0006AA24 File Offset: 0x00068C24
412 {
414 int version = list._version;
415 this._version = version;
416 }
417
418 // Token: 0x060030D9 RID: 12505 RVA: 0x0006AA48 File Offset: 0x00068C48
419 public void Dispose()
420 {
421 }
422
423 // Token: 0x060030DA RID: 12506 RVA: 0x0006AA58 File Offset: 0x00068C58
424 public bool MoveNext()
425 {
426 /*
427An exception occurred when decompiling this method (060030DA)
428
429ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Collections.Generic.List`1/Enumerator::MoveNext()
430
431 ---> System.Exception: Basic block has to end with unconditional control flow.
432{
433 Block_0:
434 stloc:int32(var_0_06, ldfld:int32(Enumerator::_version, ldloc:valuetype System.Collections.Generic.List`1/Enumerator&(this)))
435 stloc:int32(var_2_0F, ldfld:int32(Enumerator::_version, ldloc:valuetype System.Collections.Generic.List`1/Enumerator&(this)))
436 call:void(ThrowHelper::ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion)
437}
438
439 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
440 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
441 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
442 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
443 --- End of inner exception stack trace ---
444 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
445 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
446*/;
447 }
448
449 // Token: 0x060030DB RID: 12507 RVA: 0x0006AA80 File Offset: 0x00068C80
450 private bool MoveNextRare()
451 {
452 /*
453An exception occurred when decompiling this method (060030DB)
454
455ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Collections.Generic.List`1/Enumerator::MoveNextRare()
456
457 ---> System.Exception: Basic block has to end with unconditional control flow.
458{
459 Block_0:
460 stloc:int32(var_0_06, ldfld:int32(Enumerator::_version, ldloc:valuetype System.Collections.Generic.List`1/Enumerator&(this)))
461 call:void(ThrowHelper::ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion)
462}
463
464 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
465 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
466 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
467 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
468 --- End of inner exception stack trace ---
469 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
470 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
471*/;
472 }
473
474 // Token: 0x170007DF RID: 2015
475 // (get) Token: 0x060030DC RID: 12508 RVA: 0x0006AA9C File Offset: 0x00068C9C
476 public T Current
477 {
478 get
479 {
480 return this._current;
481 }
482 }
483
484 // Token: 0x170007E0 RID: 2016
485 // (get) Token: 0x060030DD RID: 12509 RVA: 0x0006AAB0 File Offset: 0x00068CB0
487 {
488 get
489 {
490 /*
491An exception occurred when decompiling this method (060030DD)
492
493ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Collections.Generic.List`1/Enumerator::System.Collections.IEnumerator.get_Current()
494
495 ---> System.Exception: Basic block has to end with unconditional control flow.
496{
497 IL_0008:
498 call:void(ThrowHelper::ThrowInvalidOperationException_InvalidOperation_EnumOpCantHappen)
499 stloc:!T(var_1_15, ldfld:!T(Enumerator::_current, ldloc:valuetype System.Collections.Generic.List`1/Enumerator&(this)))
500}
501
502 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
503 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
504 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
505 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
506 --- End of inner exception stack trace ---
507 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
508 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
509*/;
510 }
511 }
512
513 // Token: 0x060030DE RID: 12510 RVA: 0x0006AAD4 File Offset: 0x00068CD4
519
520 // Token: 0x04001A75 RID: 6773
521 private List<T> _list;
522
523 // Token: 0x04001A76 RID: 6774
524 private int _index;
525
526 // Token: 0x04001A77 RID: 6775
527 private int _version;
528
529 // Token: 0x04001A78 RID: 6776
530 private T _current;
531 }
532 }
533}
class f__AnonymousType0<< Count > j__TPar
void Sort(int index, int count, IComparer< T > comparer)
Definition List.cs:352
void EnsureCapacity(int min)
Definition List.cs:237
void Sort(Comparison< T > comparison)
Definition List.cs:358
void CopyTo(T[] array, int arrayIndex)
Definition List.cs:231
void AddEnumerable(IEnumerable< T > enumerable)
Definition List.cs:376
ReadOnlyCollection< T > AsReadOnly()
Definition List.cs:193
void InsertRange(int index, IEnumerable< T > collection)
Definition List.cs:296
void Insert(int index, T item)
Definition List.cs:285
void Reverse(int index, int count)
Definition List.cs:336
void Sort(IComparer< T > comparer)
Definition List.cs:347
List(IEnumerable< T > collection)
Definition List.cs:30
void AddRange(IEnumerable< T > collection)
Definition List.cs:187
void ForEach(Action< T > action)
Definition List.cs:249
void CopyTo(T[] array)
Definition List.cs:220
static readonly T[] s_emptyArray
Definition List.cs:404
List< T >.Enumerator GetEnumerator()
Definition List.cs:255
void RemoveAt(int index)
Definition List.cs:319
static bool IsCompatibleObject(object value)
Definition List.cs:148
void RemoveRange(int index, int count)
Definition List.cs:325
int RemoveAll(Predicate< T > match)
Definition List.cs:313
T Find(Predicate< T > match)
Definition List.cs:243
static void ThrowArgumentOutOfRangeException()
static void ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion()
void CopyTo(T[] array, int arrayIndex)
void Insert(int index, T item)