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
GUIControllerStaticGridNavigator.cs
Go to the documentation of this file.
1using System;
4
5// Token: 0x020000EB RID: 235
7{
8 // Token: 0x06000629 RID: 1577 RVA: 0x00013AFC File Offset: 0x00011CFC
17
18 // Token: 0x170000C4 RID: 196
19 // (get) Token: 0x0600062A RID: 1578 RVA: 0x00013B34 File Offset: 0x00011D34
21 {
22 get
23 {
24 /*
25An exception occurred when decompiling this method (0600062A)
26
27ICSharpCode.Decompiler.DecompilerException: Error decompiling ItemGrid_Layout GUIControllerStaticGridNavigator::get_GridLayout()
28
29 ---> System.Exception: Basic block has to end with unconditional control flow.
30{
31 Block_0:
32 stloc:GetGrid(var_0_06, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
33 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_0_06)))
34 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_0_06)))
35 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_0_06)))
36}
37
38 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
39 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
40 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
41 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
42 --- End of inner exception stack trace ---
43 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
44 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
45*/;
46 }
47 }
48
49 // Token: 0x170000C5 RID: 197
50 // (get) Token: 0x0600062B RID: 1579 RVA: 0x00013B5C File Offset: 0x00011D5C
51 private float itemScale
52 {
53 get
54 {
55 /*
56An exception occurred when decompiling this method (0600062B)
57
58ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single GUIControllerStaticGridNavigator::get_itemScale()
59
60 ---> System.Exception: Basic block has to end with unconditional control flow.
61{
62 Block_0:
63 stloc:GetItemScale(var_0_06, ldfld:GetItemScale(GUIControllerStaticGridNavigator::_itemScale, ldloc:GUIControllerStaticGridNavigator(this)))
64 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetItemScale[exp:Delegate](var_0_06)))
65 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:GetItemScale[exp:Delegate](var_0_06)))
66 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:GetItemScale[exp:Delegate](var_0_06)))
67}
68
69 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
70 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
71 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
72 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
73 --- End of inner exception stack trace ---
74 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
75 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
76*/;
77 }
78 }
79
80 // Token: 0x170000C6 RID: 198
81 // (get) Token: 0x0600062C RID: 1580 RVA: 0x00013B84 File Offset: 0x00011D84
82 private int MenuItemCount
83 {
84 get
85 {
86 /*
87An exception occurred when decompiling this method (0600062C)
88
89ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIControllerStaticGridNavigator::get_MenuItemCount()
90
91 ---> System.Exception: Basic block has to end with unconditional control flow.
92{
93 Block_0:
94 stloc:GetCollectionCount(var_0_06, ldfld:GetCollectionCount(GUIControllerStaticGridNavigator::_menuItemCount, ldloc:GUIControllerStaticGridNavigator(this)))
95 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
96 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
97 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
98}
99
100 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
101 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
102 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
103 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
104 --- End of inner exception stack trace ---
105 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
106 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
107*/;
108 }
109 }
110
111 // Token: 0x170000C7 RID: 199
112 // (get) Token: 0x0600062D RID: 1581 RVA: 0x00013BAC File Offset: 0x00011DAC
114 {
115 get
116 {
117 /*
118An exception occurred when decompiling this method (0600062D)
119
120ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIControllerStaticGridNavigator::get_DisplayItemCount()
121
122 ---> System.Exception: Basic block has to end with unconditional control flow.
123{
124 Block_0:
125 stloc:GetCollectionCount(var_0_06, ldfld:GetCollectionCount(GUIControllerStaticGridNavigator::_displayItemCount, ldloc:GUIControllerStaticGridNavigator(this)))
126 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
127 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
128 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
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: 0x0600062E RID: 1582 RVA: 0x00013BD4 File Offset: 0x00011DD4
143 public void Activate(int itemIndex = -1)
144 {
146 IntPtr invoke_impl = grid.invoke_impl;
147 IntPtr method_code = grid.method_code;
148 IntPtr method = grid.method;
150 this.itemRow = (int)method;
151 IntPtr invoke_impl2 = grid2.invoke_impl;
152 IntPtr method_code2 = grid2.method_code;
153 IntPtr method2 = grid2.method;
155 }
156
157 // Token: 0x0600062F RID: 1583 RVA: 0x00013C30 File Offset: 0x00011E30
159 {
160 /*
161An exception occurred when decompiling this method (0600062F)
162
163ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIControllerStaticGridNavigator::GetNavigationOutDirs()
164
165 ---> System.Exception: Basic block has to end with unconditional control flow.
166{
167 IL_004F:
168 stloc:bool(var_8_55, callgetter:bool(GUIControllerStaticGridNavigator::get_LeftSideController, ldloc:GUIControllerStaticGridNavigator(this)))
169 stloc:int32(var_9_5D, ldfld:int32(GUIControllerStaticGridNavigator::itemColumn, ldloc:GUIControllerStaticGridNavigator(this)))
170 stloc:GetGrid(var_10_65, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
171 stloc:native int(var_11_6E, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_10_65)))
172 stloc:native int(var_12_77, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_10_65)))
173 stloc:native int(var_13_80, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_10_65)))
174 stloc:bool(var_14_88, callgetter:bool(GUIControllerStaticGridNavigator::get_LeftSideController, ldloc:GUIControllerStaticGridNavigator(this)))
175 stloc:GetGrid(var_15_90, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
176 stloc:int32(var_16_98, ldfld:int32(GUIControllerStaticGridNavigator::itemColumn, ldloc:GUIControllerStaticGridNavigator(this)))
177 stloc:native int(var_17_A1, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_15_90)))
178 stloc:native int(var_18_AA, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_15_90)))
179 stloc:native int(var_19_B3, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_15_90)))
180 stloc:bool(var_20_BB, callgetter:bool(GUIControllerStaticGridNavigator::get_LeftSideController, ldloc:GUIControllerStaticGridNavigator(this)))
181 stloc:GetCollectionCount(var_21_C3, ldfld:GetCollectionCount(GUIControllerStaticGridNavigator::_menuItemCount, ldloc:GUIControllerStaticGridNavigator(this)))
182 stloc:native int(var_23_CF, ldfld:native int(Delegate::invoke_impl, ldloc:GetCollectionCount[exp:Delegate](var_21_C3)))
183 stloc:native int(var_24_D8, ldfld:native int(Delegate::method_code, ldloc:GetCollectionCount[exp:Delegate](var_21_C3)))
184 stloc:native int(var_25_E1, ldfld:native int(Delegate::method, ldloc:GetCollectionCount[exp:Delegate](var_21_C3)))
185 stloc:int32(var_26_E9, ldfld:int32(GUIControllerStaticGridNavigator::menuRow, ldloc:GUIControllerStaticGridNavigator(this)))
186 stloc:int32(var_27_F1, ldfld:int32(GUIControllerStaticGridNavigator::itemRow, ldloc:GUIControllerStaticGridNavigator(this)))
187 stloc:GetGrid(var_28_F9, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
188 stloc:native int(var_29_102, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_28_F9)))
189 stloc:native int(var_30_10B, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_28_F9)))
190 stloc:native int(var_31_114, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_28_F9)))
191 stloc:bool(var_32_11C, callgetter:bool(GUIControllerStaticGridNavigator::get_LeftSideController, ldloc:GUIControllerStaticGridNavigator(this)))
192 stloc:int32(var_33_124, ldfld:int32(GUIControllerStaticGridNavigator::itemRow, ldloc:GUIControllerStaticGridNavigator(this)))
193}
194
195 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
196 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
197 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
198 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
199 --- End of inner exception stack trace ---
200 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
201 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
202*/;
203 }
204
205 // Token: 0x06000630 RID: 1584 RVA: 0x00013D64 File Offset: 0x00011F64
207 {
209 return this.NavigateHorizontal(navigationVector);
210 }
211
212 // Token: 0x170000C8 RID: 200
213 // (get) Token: 0x06000631 RID: 1585 RVA: 0x00013D80 File Offset: 0x00011F80
214 private int MenuColumn
215 {
216 get
217 {
218 /*
219An exception occurred when decompiling this method (06000631)
220
221ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIControllerStaticGridNavigator::get_MenuColumn()
222
223 ---> System.Exception: Basic block has to end with unconditional control flow.
224{
225 Block_0:
226 stloc:GetGrid(var_0_06, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
227 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_0_06)))
228 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_0_06)))
229 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_0_06)))
230}
231
232 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
233 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
234 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
235 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
236 --- End of inner exception stack trace ---
237 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
238 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
239*/;
240 }
241 }
242
243 // Token: 0x170000C9 RID: 201
244 // (get) Token: 0x06000632 RID: 1586 RVA: 0x00013DA8 File Offset: 0x00011FA8
246 {
247 get
248 {
250 }
251 }
252
253 // Token: 0x170000CA RID: 202
254 // (get) Token: 0x06000633 RID: 1587 RVA: 0x00013DD4 File Offset: 0x00011FD4
255 private bool HasMenu
256 {
257 get
258 {
260 IntPtr invoke_impl = menuItemCount.invoke_impl;
261 IntPtr method_code = menuItemCount.method_code;
262 IntPtr method = menuItemCount.method;
263 return true;
264 }
265 }
266
267 // Token: 0x170000CB RID: 203
268 // (get) Token: 0x06000634 RID: 1588 RVA: 0x00013E24 File Offset: 0x00012024
269 public bool InMenu
270 {
271 get
272 {
273 /*
274An exception occurred when decompiling this method (06000634)
275
276ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIControllerStaticGridNavigator::get_InMenu()
277
278 ---> System.Exception: Basic block has to end with unconditional control flow.
279{
280 Block_0:
281 stloc:GetGrid(var_0_06, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
282 stloc:int32(var_1_0D, ldfld:int32(GUIControllerStaticGridNavigator::itemColumn, ldloc:GUIControllerStaticGridNavigator(this)))
283 stloc:native int(var_2_14, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_0_06)))
284 stloc:native int(var_3_1B, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_0_06)))
285 stloc:native int(var_4_22, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_0_06)))
286}
287
288 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
289 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
290 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
291 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
292 --- End of inner exception stack trace ---
293 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
294 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
295*/;
296 }
297 }
298
299 // Token: 0x06000635 RID: 1589 RVA: 0x00013E54 File Offset: 0x00012054
330
331 // Token: 0x06000636 RID: 1590 RVA: 0x00013F2C File Offset: 0x0001212C
333 {
334 /*
335An exception occurred when decompiling this method (06000636)
336
337ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIControllerItem GUIControllerStaticGridNavigator::NavigateMenuOutOfGrid()
338
339 ---> System.Exception: Basic block has to end with unconditional control flow.
340{
341 Block_0:
342 stloc:GUIControllerPageGroup(var_0_1D, callgetter:GUIControllerPageGroup(GUIPageIconGrouping::get_MenuController, callgetter:GUIPageIconGrouping(GUIPageContentController::get_ParentGrouping, ldfld:GUIPageContentController(GUIControllerStaticGridNavigator::_controller, ldloc:GUIControllerStaticGridNavigator(this)))))
343 stloc:int32(var_1_24, ldfld:int32(GUIControllerStaticGridNavigator::itemRow, ldloc:GUIControllerStaticGridNavigator(this)))
344 stfld:int32(GUIControllerPageGroup::MenuRow, ldloc:GUIControllerPageGroup(var_0_1D), ldloc:int32(var_1_24))
345 stloc:GUIControllerPageGroup(var_2_3C, callgetter:GUIControllerPageGroup(GUIPageIconGrouping::get_MenuController, callgetter:GUIPageIconGrouping(GUIPageContentController::get_ParentGrouping, ldfld:GUIPageContentController(GUIControllerStaticGridNavigator::_controller, ldloc:GUIControllerStaticGridNavigator(this)))))
346}
347
348 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
349 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
350 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
351 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
352 --- End of inner exception stack trace ---
353 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
354 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
355*/;
356 }
357
358 // Token: 0x06000637 RID: 1591 RVA: 0x00013F78 File Offset: 0x00012178
360 {
361 /*
362An exception occurred when decompiling this method (06000637)
363
364ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIControllerItem GUIControllerStaticGridNavigator::NavigateUpOutOfGrid()
365
366 ---> System.Exception: Basic block has to end with unconditional control flow.
367{
368 Block_0:
369 stloc:GUIPageContentController(var_2_22, ldfld:GUIPageContentController(GUIControllerStaticGridNavigator::_controller, ldloc:GUIControllerStaticGridNavigator(this)))
370}
371
372 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
373 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
374 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
375 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
376 --- End of inner exception stack trace ---
377 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
378 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
379*/;
380 }
381
382 // Token: 0x06000638 RID: 1592 RVA: 0x00013FA8 File Offset: 0x000121A8
384 {
385 /*
386An exception occurred when decompiling this method (06000638)
387
388ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIControllerItem GUIControllerStaticGridNavigator::NavigateDownOutOfGrid()
389
390 ---> System.Exception: Basic block has to end with unconditional control flow.
391{
392 Block_0:
393 stloc:GUIPageContentController(var_2_22, ldfld:GUIPageContentController(GUIControllerStaticGridNavigator::_controller, ldloc:GUIControllerStaticGridNavigator(this)))
394}
395
396 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
397 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
398 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
399 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
400 --- End of inner exception stack trace ---
401 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
402 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
403*/;
404 }
405
406 // Token: 0x06000639 RID: 1593 RVA: 0x00013FD8 File Offset: 0x000121D8
408 {
410 do
411 {
413 int num = this.itemColumn;
414 IntPtr invoke_impl = grid.invoke_impl;
415 IntPtr method_code = grid.method_code;
416 IntPtr method = grid.method;
418 IntPtr invoke_impl2 = menuItemCount.invoke_impl;
419 IntPtr method_code2 = menuItemCount.method_code;
426 IntPtr invoke_impl4 = grid2.invoke_impl;
427 IntPtr method_code4 = grid2.method_code;
428 IntPtr method4 = grid2.method;
429 int num2 = this.itemRow;
431 this.ClampMenu(true);
433 int num3 = this.itemRow;
434 int num4 = this.menuRow;
435 IntPtr invoke_impl5 = grid3.invoke_impl;
436 IntPtr method_code5 = grid3.method_code;
437 IntPtr method5 = grid3.method;
438 int num5 = this.menuRow;
440 guicontrollerItem = this._controller.ParentGrouping.NavigateRight(num5);
441 }
442 while (guicontrollerItem != null);
443 return guicontrollerItem;
444 }
445
446 // Token: 0x0600063A RID: 1594 RVA: 0x000140F8 File Offset: 0x000122F8
448 {
449 int num = this.itemColumn;
451 IntPtr invoke_impl = grid.invoke_impl;
452 IntPtr method_code = grid.method_code;
453 IntPtr method = grid.method;
454 int num2 = this.menuRow;
456 int num3 = this.itemColumn;
458 int num4 = this.itemColumn;
459 IntPtr invoke_impl2 = grid2.invoke_impl;
460 IntPtr method_code2 = grid2.method_code;
461 IntPtr method2 = grid2.method;
463 int num5 = this.itemColumn;
464 IntPtr invoke_impl3 = grid3.invoke_impl;
465 IntPtr method_code3 = grid3.method_code;
466 IntPtr method3 = grid3.method;
467 int num6 = this.menuRow;
469 int num7 = this.itemColumn;
472 int num8 = this.itemColumn;
473 IntPtr invoke_impl4 = grid4.invoke_impl;
474 IntPtr method_code4 = grid4.method_code;
475 IntPtr method4 = grid4.method;
476 int num9 = this.menuRow;
478 int num10 = this.itemColumn;
479 IntPtr invoke_impl5 = grid5.invoke_impl;
480 IntPtr method_code5 = grid5.method_code;
481 IntPtr method5 = grid5.method;
483 IntPtr invoke_impl6 = menuItemCount.invoke_impl;
484 IntPtr method_code6 = menuItemCount.method_code;
490 int num11 = this.menuRow;
491 long num12 = 0L;
493 this.ClampMenu(num12 != 0L);
494 int num13 = this.itemRow;
496 if (guicontrollerItem == null)
497 {
498 return guicontrollerItem;
499 }
502 return guicontrollerItem2;
503 }
504
505 // Token: 0x0600063B RID: 1595 RVA: 0x000142E4 File Offset: 0x000124E4
506 protected void ClampPosition()
507 {
509 int num = this.itemColumn;
510 IntPtr invoke_impl = grid.invoke_impl;
511 IntPtr method_code = grid.method_code;
512 IntPtr method = grid.method;
513 int num2 = 1;
514 this.ClampMenu(num2 != 0);
515 }
516
517 // Token: 0x0600063C RID: 1596 RVA: 0x0001438C File Offset: 0x0001258C
519 {
520 /*
521An exception occurred when decompiling this method (0600063C)
522
523ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Rectangle GUIControllerStaticGridNavigator::GetSelectedItemRegion()
524
525 ---> System.Exception: Basic block has to end with unconditional control flow.
526{
527 IL_00CD:
528 stloc:bool(var_26_D3, callgetter:bool(GUIControllerStaticGridNavigator::get_LeftSideController, ldloc:GUIControllerStaticGridNavigator(this)))
529 stloc:GetGrid(var_27_DB, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
530 stloc:int32(var_28_E3, ldfld:int32(GUIControllerStaticGridNavigator::itemColumn, ldloc:GUIControllerStaticGridNavigator(this)))
531 stloc:native int(var_29_EC, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_27_DB)))
532 stloc:native int(var_30_F5, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_27_DB)))
533 stloc:native int(var_31_FE, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_27_DB)))
534 stloc:GetGrid(var_32_106, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
535 stloc:native int(var_33_10F, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_32_106)))
536 stloc:native int(var_34_118, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_32_106)))
537 stloc:native int(var_35_121, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_32_106)))
538 stloc:GetGrid(var_36_129, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
539 stloc:int32(var_37_131, ldfld:int32(GUIControllerStaticGridNavigator::itemColumn, ldloc:GUIControllerStaticGridNavigator(this)))
540 stloc:native int(var_38_13A, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_36_129)))
541 stloc:native int(var_39_143, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_36_129)))
542 stloc:native int(var_40_14C, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_36_129)))
543 stloc:GetGrid(var_41_154, ldfld:GetGrid(GUIControllerStaticGridNavigator::_grid, ldloc:GUIControllerStaticGridNavigator(this)))
544 stloc:native int(var_42_15D, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_41_154)))
545 stloc:native int(var_43_166, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_41_154)))
546 stloc:native int(var_44_16F, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_41_154)))
547}
548
549 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
550 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
551 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
552 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
553 --- End of inner exception stack trace ---
554 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
555 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
556*/;
557 }
558
559 // Token: 0x0600063D RID: 1597 RVA: 0x0001450C File Offset: 0x0001270C
560 public void NavigateInto(int column, int row)
561 {
563 IntPtr invoke_impl = grid.invoke_impl;
564 IntPtr method_code = grid.method_code;
565 IntPtr method = grid.method;
567 IntPtr invoke_impl2 = menuItemCount.invoke_impl;
568 IntPtr method_code2 = menuItemCount.method_code;
575 IntPtr invoke_impl4 = grid2.invoke_impl;
576 IntPtr method_code4 = grid2.method_code;
577 IntPtr method4 = grid2.method;
579 this.ClampPosition();
580 }
581
582 // Token: 0x040004CF RID: 1231
584
585 // Token: 0x040004D0 RID: 1232
587
588 // Token: 0x040004D1 RID: 1233
590
591 // Token: 0x040004D2 RID: 1234
593
594 // Token: 0x040004D3 RID: 1235
596
597 // Token: 0x040004D4 RID: 1236
598 public int itemRow;
599
600 // Token: 0x040004D5 RID: 1237
601 public int itemColumn;
602
603 // Token: 0x040004D6 RID: 1238
604 public int menuRow;
605
606 // Token: 0x020000EC RID: 236
607 public sealed class GetGrid : MulticastDelegate
608 {
609 // Token: 0x0600063E RID: 1598 RVA: 0x000145B0 File Offset: 0x000127B0
610 public GetGrid(object @object, IntPtr method)
611 {
613 this.method_code = this;
614 }
615
616 // Token: 0x0600063F RID: 1599 RVA: 0x000145F4 File Offset: 0x000127F4
618 {
619 /*
620An exception occurred when decompiling this method (0600063F)
621
622ICSharpCode.Decompiler.DecompilerException: Error decompiling ItemGrid_Layout GUIControllerStaticGridNavigator/GetGrid::Invoke()
623
624 ---> System.Exception: Basic block has to end with unconditional control flow.
625{
626 Block_0:
627 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](this)))
628 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](this)))
629 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](this)))
630}
631
632 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
633 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
634 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
635 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
636 --- End of inner exception stack trace ---
637 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
638 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
639*/;
640 }
641
642 // Token: 0x06000640 RID: 1600 RVA: 0x000021DB File Offset: 0x000003DB
643 public IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
644 {
645 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
646 }
647
648 // Token: 0x06000641 RID: 1601 RVA: 0x000021DB File Offset: 0x000003DB
650 {
651 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
652 }
653 }
654
655 // Token: 0x020000ED RID: 237
657 {
658 // Token: 0x06000642 RID: 1602 RVA: 0x00014618 File Offset: 0x00012818
659 public GetCollectionCount(object @object, IntPtr method)
660 {
662 this.m_target = @object;
664 this.method_code = this;
665 }
666
667 // Token: 0x06000643 RID: 1603 RVA: 0x0001466C File Offset: 0x0001286C
668 public int Invoke()
669 {
670 /*
671An exception occurred when decompiling this method (06000643)
672
673ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIControllerStaticGridNavigator/GetCollectionCount::Invoke()
674
675 ---> System.Exception: Basic block has to end with unconditional control flow.
676{
677 Block_0:
678 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:GetCollectionCount[exp:Delegate](this)))
679 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetCollectionCount[exp:Delegate](this)))
680 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:GetCollectionCount[exp:Delegate](this)))
681}
682
683 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
684 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
685 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
686 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
687 --- End of inner exception stack trace ---
688 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
689 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
690*/;
691 }
692
693 // Token: 0x06000644 RID: 1604 RVA: 0x000021DB File Offset: 0x000003DB
694 public IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
695 {
696 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
697 }
698
699 // Token: 0x06000645 RID: 1605 RVA: 0x000021DB File Offset: 0x000003DB
700 public int EndInvoke(IAsyncResult result)
701 {
702 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
703 }
704 }
705
706 // Token: 0x020000EE RID: 238
707 public sealed class GetItemScale : MulticastDelegate
708 {
709 // Token: 0x06000646 RID: 1606 RVA: 0x00014690 File Offset: 0x00012890
710 public GetItemScale(object @object, IntPtr method)
711 {
713 this.m_target = @object;
715 this.method_code = this;
716 }
717
718 // Token: 0x06000647 RID: 1607 RVA: 0x000146E4 File Offset: 0x000128E4
719 public float Invoke()
720 {
721 /*
722An exception occurred when decompiling this method (06000647)
723
724ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single GUIControllerStaticGridNavigator/GetItemScale::Invoke()
725
726 ---> System.Exception: Basic block has to end with unconditional control flow.
727{
728 Block_0:
729 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:GetItemScale[exp:Delegate](this)))
730 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetItemScale[exp:Delegate](this)))
731 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:GetItemScale[exp:Delegate](this)))
732}
733
734 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
735 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
736 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
737 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
738 --- End of inner exception stack trace ---
739 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
740 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
741*/;
742 }
743
744 // Token: 0x06000648 RID: 1608 RVA: 0x000021DB File Offset: 0x000003DB
745 public IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
746 {
747 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
748 }
749
750 // Token: 0x06000649 RID: 1609 RVA: 0x000021DB File Offset: 0x000003DB
751 public float EndInvoke(IAsyncResult result)
752 {
753 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
754 }
755 }
756}
class f__AnonymousType0<< Count > j__TPar
IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
readonly GUIControllerStaticGridNavigator.GetCollectionCount _displayItemCount
readonly GUIControllerStaticGridNavigator.GetCollectionCount _menuItemCount
readonly GUIControllerStaticGridNavigator.GetItemScale _itemScale
readonly GUIPageContentController _controller
GUIControllerItem NavigateHorizontal(Vector2 navigationVector)
GUIControllerStaticGridNavigator(GUIPageContentController controller, GUIControllerStaticGridNavigator.GetGrid grid, GUIControllerStaticGridNavigator.GetItemScale itemScale, GUIControllerStaticGridNavigator.GetCollectionCount menuItemCount, GUIControllerStaticGridNavigator.GetCollectionCount displayItemCount)
GUIControllerItem Navigate(Vector2 navigationVector)
readonly GUIControllerStaticGridNavigator.GetGrid _grid
GUIControllerItem NavigateRight(int row)