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

◆ Current

object System.Collections.Specialized.NameObjectCollectionBase.NameObjectKeysEnumerator.Current
get

Implements System.Collections.IEnumerator.

Definition at line 596 of file NameObjectCollectionBase.cs.

597 {
598 get
599 {
600 /*
601An exception occurred when decompiling this method (06001CD0)
602
603ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Collections.Specialized.NameObjectCollectionBase/NameObjectKeysEnumerator::get_Current()
604
605 ---> System.Exception: Basic block has to end with unconditional control flow.
606{
607 Block_0:
608 stloc:int32(var_0_06, ldfld:int32(NameObjectKeysEnumerator::_pos, ldloc:NameObjectKeysEnumerator(this)))
609 stloc:NameObjectCollectionBase(var_1_0D, ldfld:NameObjectCollectionBase(NameObjectKeysEnumerator::_coll, ldloc:NameObjectKeysEnumerator(this)))
610 stloc:NameObjectCollectionBase(var_2_14, ldfld:NameObjectCollectionBase(NameObjectKeysEnumerator::_coll, ldloc:NameObjectKeysEnumerator(this)))
611 stloc:int32(var_3_1B, ldfld:int32(NameObjectKeysEnumerator::_pos, ldloc:NameObjectKeysEnumerator(this)))
612 stloc:string(var_4_23, call:string(NameObjectCollectionBase::BaseGetKey, ldloc:NameObjectCollectionBase(var_2_14), ldloc:int32(var_3_1B)))
613 stloc:string(var_5_2F, call:string(SR::GetString, ldstr:string("Enumeration has either not started or has already finished.")))
614}
615
616 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
617 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
618 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
619 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
620 --- End of inner exception stack trace ---
621 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
622 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
623*/;
624 }
625 }