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

◆ MoveNext()

virtual bool System.Collections.Stack.StackEnumerator.MoveNext ( )
inlinevirtual

Implements System.Collections.IEnumerator.

Definition at line 247 of file Stack.cs.

248 {
249 /*
250An exception occurred when decompiling this method (06002EA2)
251
252ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Collections.Stack/StackEnumerator::MoveNext()
253
254 ---> System.Exception: Basic block has to end with unconditional control flow.
255{
256 Block_0:
257 stloc:Stack(var_0_06, ldfld:Stack(StackEnumerator::_stack, ldloc:StackEnumerator(this)))
258 stloc:int32(var_1_0D, ldfld:int32(StackEnumerator::_version, ldloc:StackEnumerator(this)))
259 stloc:int32(var_2_14, ldfld:int32(Stack::_version, ldloc:Stack(var_0_06)))
260 stloc:int32(var_3_1B, ldfld:int32(StackEnumerator::_index, ldloc:StackEnumerator(this)))
261 stloc:int32(var_4_22, ldfld:int32(Stack::_size, ldloc:Stack(var_0_06)))
262 stfld:int32(StackEnumerator::_index, ldloc:StackEnumerator(this), ldloc:int32(var_4_22))
263 stloc:int64(var_5_2D, ldc.i4:int64(0))
264 stfld:int32(StackEnumerator::_index, ldloc:StackEnumerator(this), ldloc:int32(var_4_22))
265 stfld:object(StackEnumerator::_currentElement, ldloc:StackEnumerator(this), ldloc:int64[exp:object](var_5_2D))
266}
267
268 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
269 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
270 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
271 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
272 --- End of inner exception stack trace ---
273 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
274 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
275*/;
276 }