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

◆ MaxRow_Horizontal

int GUIControllerPageMenuPopupGridNavigator.MaxRow_Horizontal
getprivate

Definition at line 135 of file GUIControllerPageMenuPopupGridNavigator.cs.

136 {
137 get
138 {
139 /*
140An exception occurred when decompiling this method (06000615)
141
142ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIControllerPageMenuPopupGridNavigator::get_MaxRow_Horizontal()
143
144 ---> System.Exception: Basic block has to end with unconditional control flow.
145{
146 Block_0:
147 stloc:GetCollectionCount(var_0_06, ldfld:GetCollectionCount(GUIControllerPageMenuPopupGridNavigator::_collectionCount, ldloc:GUIControllerPageMenuPopupGridNavigator(this)))
148 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
149 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
150 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
151 stloc:GetGrid(var_4_22, ldfld:GetGrid(GUIControllerPageMenuPopupGridNavigator::_grid, ldloc:GUIControllerPageMenuPopupGridNavigator(this)))
152 stloc:native int(var_5_2B, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_4_22)))
153 stloc:native int(var_6_34, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_4_22)))
154 stloc:native int(var_7_3D, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_4_22)))
155 stloc:GetGrid(var_8_45, ldfld:GetGrid(GUIControllerPageMenuPopupGridNavigator::_grid, ldloc:GUIControllerPageMenuPopupGridNavigator(this)))
156 stloc:native int(var_9_4E, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_8_45)))
157 stloc:native int(var_10_57, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_8_45)))
158 stloc:native int(var_11_60, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_8_45)))
159}
160
161 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
162 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
163 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
164 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
165 --- End of inner exception stack trace ---
166 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
167 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
168*/;
169 }
170 }

Referenced by ClampPosition().