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
LowLevelListWithIList.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x0200064C RID: 1612
7 internal sealed class LowLevelListWithIList<T> : LowLevelList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
8 {
9 // Token: 0x06003143 RID: 12611 RVA: 0x0006B154 File Offset: 0x00069354
11 {
12 }
13
14 // Token: 0x06003144 RID: 12612 RVA: 0x0006B164 File Offset: 0x00069364
16 {
17 }
18
19 // Token: 0x170007F3 RID: 2035
20 // (get) Token: 0x06003145 RID: 12613 RVA: 0x0006B174 File Offset: 0x00069374
22 {
23 get
24 {
25 }
26 }
27
28 // Token: 0x06003146 RID: 12614 RVA: 0x0000207A File Offset: 0x0000027A
30 {
31 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
32 }
33
34 // Token: 0x06003147 RID: 12615 RVA: 0x0000207A File Offset: 0x0000027A
36 {
37 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
38 }
39
40 // Token: 0x0200064D RID: 1613
42 {
43 // Token: 0x06003148 RID: 12616 RVA: 0x0006B184 File Offset: 0x00069384
48
49 // Token: 0x06003149 RID: 12617 RVA: 0x0006B198 File Offset: 0x00069398
50 public void Dispose()
51 {
52 }
53
54 // Token: 0x0600314A RID: 12618 RVA: 0x0006B1A8 File Offset: 0x000693A8
55 public bool MoveNext()
56 {
57 /*
58An exception occurred when decompiling this method (0600314A)
59
60ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Collections.Generic.LowLevelListWithIList`1/Enumerator::MoveNext()
61
62 ---> System.Exception: Basic block has to end with unconditional control flow.
63{
64 Block_0:
65 stloc:int32(var_0_06, ldfld:int32(Enumerator::_version, ldloc:valuetype System.Collections.Generic.LowLevelListWithIList`1/Enumerator&(this)))
66 stfld:int32(Enumerator::_index, ldloc:valuetype System.Collections.Generic.LowLevelListWithIList`1/Enumerator&(this), ldloc:int32(var_0_06))
67 stloc:bool(var_2_16, call:bool(Enumerator::MoveNextRare, ldloc:valuetype System.Collections.Generic.LowLevelListWithIList`1/Enumerator&(this)))
68}
69
70 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
71 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
72 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
73 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
74 --- End of inner exception stack trace ---
75 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
76 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
77*/;
78 }
79
80 // Token: 0x0600314B RID: 12619 RVA: 0x0006B1D0 File Offset: 0x000693D0
81 private bool MoveNextRare()
82 {
83 /*
84An exception occurred when decompiling this method (0600314B)
85
86ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Collections.Generic.LowLevelListWithIList`1/Enumerator::MoveNextRare()
87
88 ---> System.Exception: Basic block has to end with unconditional control flow.
89{
90 Block_0:
91 stloc:int32(var_0_06, ldfld:int32(Enumerator::_version, ldloc:valuetype System.Collections.Generic.LowLevelListWithIList`1/Enumerator&(this)))
92}
93
94 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
95 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
96 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
97 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
98 --- End of inner exception stack trace ---
99 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
100 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
101*/;
102 }
103
104 // Token: 0x170007F4 RID: 2036
105 // (get) Token: 0x0600314C RID: 12620 RVA: 0x0006B1E8 File Offset: 0x000693E8
106 public T Current
107 {
108 get
109 {
110 return this._current;
111 }
112 }
113
114 // Token: 0x170007F5 RID: 2037
115 // (get) Token: 0x0600314D RID: 12621 RVA: 0x0006B1FC File Offset: 0x000693FC
117 {
118 get
119 {
120 /*
121An exception occurred when decompiling this method (0600314D)
122
123ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Collections.Generic.LowLevelListWithIList`1/Enumerator::System.Collections.IEnumerator.get_Current()
124
125 ---> System.Exception: Basic block has to end with unconditional control flow.
126{
127 Block_0:
128 stloc:!T(var_0_0E, ldfld:!T(Enumerator::_current, ldloc:valuetype System.Collections.Generic.LowLevelListWithIList`1/Enumerator&(this)))
129}
130
131 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
132 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
133 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
134 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
135 --- End of inner exception stack trace ---
136 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
137 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
138*/;
139 }
140 }
141
142 // Token: 0x0600314E RID: 12622 RVA: 0x0006B218 File Offset: 0x00069418
144 {
145 int version = this._version;
146 }
147
148 // Token: 0x04001AA1 RID: 6817
150
151 // Token: 0x04001AA2 RID: 6818
152 private int _index;
153
154 // Token: 0x04001AA3 RID: 6819
155 private int _version;
156
157 // Token: 0x04001AA4 RID: 6820
158 private T _current;
159 }
160 }
161}
class f__AnonymousType0<< Count > j__TPar