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
Rectangle.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200032E RID: 814
8 public struct Rectangle
9 {
10 // Token: 0x170001E1 RID: 481
11 // (get) Token: 0x06001360 RID: 4960 RVA: 0x0005CE88 File Offset: 0x0005B088
13 {
14 get
15 {
16 /*
17An exception occurred when decompiling this method (06001360)
18
19ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Point Microsoft.Xna.Framework.Rectangle::get_Center()
20
21 ---> System.Exception: Basic block has to end with unconditional control flow.
22{
23 Block_0:
24 stloc:int32(var_0_06, ldfld:int32(Rectangle::Width, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
25 stloc:int32(var_1_0D, ldfld:int32(Rectangle::X, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
26 stloc:int32(var_2_14, ldfld:int32(Rectangle::Width, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
27}
28
29 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
30 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
31 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
32 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
33 --- End of inner exception stack trace ---
34 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
35 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
36*/;
37 }
38 }
39
40 // Token: 0x170001E2 RID: 482
41 // (get) Token: 0x06001361 RID: 4961 RVA: 0x000021DB File Offset: 0x000003DB
42 // (set) Token: 0x06001362 RID: 4962 RVA: 0x0005CEAC File Offset: 0x0005B0AC
44 {
45 get
46 {
47 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
48 }
49 set
50 {
51 this.X = value;
52 }
53 }
54
55 // Token: 0x170001E3 RID: 483
56 // (get) Token: 0x06001363 RID: 4963 RVA: 0x0005CEC0 File Offset: 0x0005B0C0
57 public bool IsEmpty
58 {
59 get
60 {
61 if (this.Width != 0 || this.Height == 0)
62 {
63 return;
64 }
65 }
66 }
67
68 // Token: 0x170001E4 RID: 484
69 // (get) Token: 0x06001364 RID: 4964 RVA: 0x0005CEE0 File Offset: 0x0005B0E0
70 public static Rectangle Empty
71 {
72 get
73 {
74 /*
75An exception occurred when decompiling this method (06001364)
76
77ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Rectangle Microsoft.Xna.Framework.Rectangle::get_Empty()
78
79 ---> System.Exception: Basic block has to end with unconditional control flow.
80{
81 IL_0000:
82 brtrue(IL_0000, ldc.i4:bool(1))
83}
84
85 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
86 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
87 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
88 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
89 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
90 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
91 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
92 --- End of inner exception stack trace ---
93 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
94 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
95*/;
96 }
97 }
98
99 // Token: 0x170001E5 RID: 485
100 // (get) Token: 0x06001365 RID: 4965 RVA: 0x000021DB File Offset: 0x000003DB
101 public int Left
102 {
103 get
104 {
105 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
106 }
107 }
108
109 // Token: 0x170001E6 RID: 486
110 // (get) Token: 0x06001366 RID: 4966 RVA: 0x0005CEF0 File Offset: 0x0005B0F0
111 public int Right
112 {
113 get
114 {
115 /*
116An exception occurred when decompiling this method (06001366)
117
118ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Microsoft.Xna.Framework.Rectangle::get_Right()
119
120 ---> System.Exception: Basic block has to end with unconditional control flow.
121{
122 Block_0:
123 stloc:int32(var_0_06, ldfld:int32(Rectangle::Width, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
124}
125
126 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
127 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
128 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
129 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
130 --- End of inner exception stack trace ---
131 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
132 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
133*/;
134 }
135 }
136
137 // Token: 0x170001E7 RID: 487
138 // (get) Token: 0x06001367 RID: 4967 RVA: 0x0005CF04 File Offset: 0x0005B104
139 public int Top
140 {
141 get
142 {
143 return this.Y;
144 }
145 }
146
147 // Token: 0x170001E8 RID: 488
148 // (get) Token: 0x06001368 RID: 4968 RVA: 0x0005CF18 File Offset: 0x0005B118
149 public int Bottom
150 {
151 get
152 {
153 /*
154An exception occurred when decompiling this method (06001368)
155
156ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Microsoft.Xna.Framework.Rectangle::get_Bottom()
157
158 ---> System.Exception: Basic block has to end with unconditional control flow.
159{
160 Block_0:
161 stloc:int32(var_0_06, ldfld:int32(Rectangle::Y, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
162 stloc:int32(var_1_0D, ldfld:int32(Rectangle::Height, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
163}
164
165 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
166 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
167 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
168 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
169 --- End of inner exception stack trace ---
170 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
171 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
172*/;
173 }
174 }
175
176 // Token: 0x06001369 RID: 4969 RVA: 0x0005CF34 File Offset: 0x0005B134
177 public Rectangle(int x, int y, int width, int height)
178 {
179 this.X = x;
180 this.Width = y;
181 this.Width = width;
182 }
183
184 // Token: 0x0600136A RID: 4970 RVA: 0x0005CF58 File Offset: 0x0005B158
186 {
187 /*
188An exception occurred when decompiling this method (0600136A)
189
190ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Rectangle Microsoft.Xna.Framework.Rectangle::Union(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Rectangle)
191
192 ---> System.Exception: Basic block has to end with unconditional control flow.
193{
194 IL_0000:
195 brtrue(IL_0000, ldc.i4:bool(1))
196}
197
198 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
199 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
200 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
201 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
202 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
203 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
204 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
205 --- End of inner exception stack trace ---
206 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
207 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
208*/;
209 }
210
211 // Token: 0x0600136B RID: 4971 RVA: 0x0005CF68 File Offset: 0x0005B168
212 public static void Union(Rectangle value1, Rectangle value2, [Out] Rectangle result)
213 {
214 if (!true)
215 {
216 }
217 int num;
218 result.X = num;
219 int y = value1.Y;
220 int y2 = value2.Y;
221 int num2 = Math.Min(y, y2);
222 result.Y = num2;
223 int width = value1.Width;
224 int width2 = value2.Width;
225 int num3 = Math.Max(num2, y2);
226 int y3 = value1.Y;
227 int height = value1.Height;
228 int y4 = value2.Y;
229 int height2 = value2.Height;
230 int num4 = Math.Max(num3, y2);
231 int y5 = result.Y;
233 }
234
235 // Token: 0x0600136C RID: 4972 RVA: 0x0005CFF0 File Offset: 0x0005B1F0
237 {
238 /*
239An exception occurred when decompiling this method (0600136C)
240
241ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Rectangle Microsoft.Xna.Framework.Rectangle::Intersect(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Rectangle)
242
243 ---> System.Exception: Basic block has to end with unconditional control flow.
244{
245 IL_0000:
246 brtrue(IL_0000, ldc.i4:bool(1))
247}
248
249 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
250 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
251 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
252 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
253 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
254 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
255 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
256 --- End of inner exception stack trace ---
257 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
258 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
259*/;
260 }
261
262 // Token: 0x0600136D RID: 4973 RVA: 0x0005D000 File Offset: 0x0005B200
263 public void Intersects(Rectangle value, [Out] bool result)
264 {
265 int width = this.Width;
266 int width2 = value.Width;
267 int y = this.Y;
268 int height = this.Height;
269 int y2 = value.Y;
270 int height2 = value.Height;
271 }
272
273 // Token: 0x0600136E RID: 4974 RVA: 0x0005D048 File Offset: 0x0005B248
274 public bool Contains(Point value)
275 {
276 /*
277An exception occurred when decompiling this method (0600136E)
278
279ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Microsoft.Xna.Framework.Rectangle::Contains(Microsoft.Xna.Framework.Point)
280
281 ---> System.Exception: Basic block has to end with unconditional control flow.
282{
283 Block_0:
284 stloc:int32(var_0_06, ldfld:int32(Rectangle::Width, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
285 stloc:int32(var_1_0D, ldfld:int32(Rectangle::Y, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
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 // Token: 0x0600136F RID: 4975 RVA: 0x0005D064 File Offset: 0x0005B264
300 {
301 /*
302An exception occurred when decompiling this method (0600136F)
303
304ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Microsoft.Xna.Framework.Rectangle::Contains(Microsoft.Xna.Framework.Rectangle)
305
306 ---> System.Exception: Basic block has to end with unconditional control flow.
307{
308 Block_0:
309 stloc:int32(var_0_06, ldfld:int32(Rectangle::Width, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
310 stloc:int32(var_1_0D, ldfld:int32(Rectangle::Y, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
311}
312
313 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
314 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
315 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
316 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
317 --- End of inner exception stack trace ---
318 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
319 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
320*/;
321 }
322
323 // Token: 0x06001370 RID: 4976 RVA: 0x0005D080 File Offset: 0x0005B280
324 public void Contains(Rectangle value, [Out] bool result)
325 {
326 int width = value.Width;
327 int width2 = this.Width;
328 int y = this.Y;
329 int y2 = value.Y;
330 long num = 0L;
331 result.m_value = num != 0L;
332 }
333
334 // Token: 0x06001371 RID: 4977 RVA: 0x0005D0C8 File Offset: 0x0005B2C8
335 public bool Contains(int x, int y)
336 {
337 /*
338An exception occurred when decompiling this method (06001371)
339
340ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Microsoft.Xna.Framework.Rectangle::Contains(System.Int32,System.Int32)
341
342 ---> System.Exception: Basic block has to end with unconditional control flow.
343{
344 Block_0:
345 stloc:int32(var_0_06, ldfld:int32(Rectangle::Width, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
346 stloc:int32(var_1_0D, ldfld:int32(Rectangle::Y, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
347}
348
349 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
350 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
351 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
352 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
353 --- End of inner exception stack trace ---
354 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
355 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
356*/;
357 }
358
359 // Token: 0x06001372 RID: 4978 RVA: 0x0005D0E4 File Offset: 0x0005B2E4
360 public void Contains(Point value, [Out] bool result)
361 {
362 int width = this.Width;
363 int y = this.Y;
364 int y2 = value.Y;
365 long num = 0L;
366 result.m_value = num != 0L;
367 }
368
369 // Token: 0x06001373 RID: 4979 RVA: 0x0005D118 File Offset: 0x0005B318
370 public static void Intersect(Rectangle value1, Rectangle value2, [Out] Rectangle result)
371 {
372 int x = value2.X;
373 int width = value2.Width;
374 int width2 = value1.Width;
375 int num = Math.Min(0, x);
376 int y = value1.Y;
377 int y2 = value2.Y;
378 int num2 = Math.Max(y, y2);
379 int y3 = value1.Y;
380 int height = value1.Height;
381 int y4 = value2.Y;
382 int height2 = value2.Height;
383 int num3 = Math.Min(num2, y2);
384 int num4;
385 result.X = num4;
388 }
389
390 // Token: 0x06001374 RID: 4980 RVA: 0x0005D1A4 File Offset: 0x0005B3A4
391 public static bool operator ==(Rectangle a, Rectangle b)
392 {
393 }
394
395 // Token: 0x06001375 RID: 4981 RVA: 0x0005D1B4 File Offset: 0x0005B3B4
396 public static bool operator !=(Rectangle a, Rectangle b)
397 {
398 if (!true)
399 {
400 }
401 return true;
402 }
403
404 // Token: 0x06001376 RID: 4982 RVA: 0x0005D1C8 File Offset: 0x0005B3C8
405 public void Offset(Point offset)
406 {
407 int x = this.X;
408 int width = this.Width;
409 this.X = x;
410 this.Width = width;
411 }
412
413 // Token: 0x06001377 RID: 4983 RVA: 0x0005D1F4 File Offset: 0x0005B3F4
414 public void Offset(int offsetX, int offsetY)
415 {
416 int x = this.X;
417 int width = this.Width;
418 this.X = x;
419 this.Width = width;
420 }
421
422 // Token: 0x06001378 RID: 4984 RVA: 0x0005D220 File Offset: 0x0005B420
424 {
425 int x = this.X;
426 int width = this.Width;
427 int width2 = this.Width;
428 this.X = x;
429 this.Width = width;
431 }
432
433 // Token: 0x06001379 RID: 4985 RVA: 0x0005D258 File Offset: 0x0005B458
434 public bool Intersects(Rectangle rect)
435 {
436 /*
437An exception occurred when decompiling this method (06001379)
438
439ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Microsoft.Xna.Framework.Rectangle::Intersects(Microsoft.Xna.Framework.Rectangle)
440
441 ---> System.Exception: Basic block has to end with unconditional control flow.
442{
443 Block_0:
444 stloc:int32(var_0_06, ldfld:int32(Rectangle::Width, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
445 stloc:int32(var_1_0D, ldfld:int32(Rectangle::Y, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
446 stloc:int32(var_2_14, ldfld:int32(Rectangle::Height, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
447}
448
449 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
450 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
451 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
452 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
453 --- End of inner exception stack trace ---
454 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
455 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
456*/;
457 }
458
459 // Token: 0x0600137A RID: 4986 RVA: 0x0005D280 File Offset: 0x0005B480
460 public bool Equals(Rectangle other)
461 {
462 int x = this.X;
463 int width = this.Width;
464 if (!true)
465 {
466 return;
467 }
468 }
469
470 // Token: 0x0600137B RID: 4987 RVA: 0x0005D2A0 File Offset: 0x0005B4A0
471 public override bool Equals(object obj)
472 {
473 if (obj != null)
474 {
475 int x = this.X;
476 int width = this.Width;
477 }
478 throw new InvalidCastException();
479 }
480
481 // Token: 0x0600137C RID: 4988 RVA: 0x0005D2C8 File Offset: 0x0005B4C8
482 public override string ToString()
483 {
484 int y = this.Y;
485 int width = this.Width;
486 int height = this.Height;
487 string text;
488 return text;
489 }
490
491 // Token: 0x0600137D RID: 4989 RVA: 0x0005D2F4 File Offset: 0x0005B4F4
492 public override int GetHashCode()
493 {
494 /*
495An exception occurred when decompiling this method (0600137D)
496
497ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Microsoft.Xna.Framework.Rectangle::GetHashCode()
498
499 ---> System.Exception: Basic block has to end with unconditional control flow.
500{
501 Block_0:
502 stloc:int32(var_0_06, ldfld:int32(Rectangle::X, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
503 stloc:int32(var_1_0D, ldfld:int32(Rectangle::Width, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
504 stloc:int32(var_2_14, ldfld:int32(Rectangle::Width, ldloc:valuetype Microsoft.Xna.Framework.Rectangle&(this)))
505}
506
507 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
508 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
509 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
510 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
511 --- End of inner exception stack trace ---
512 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
513 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
514*/;
515 }
516
517 // Token: 0x0600137E RID: 4990 RVA: 0x0005D318 File Offset: 0x0005B518
518 // Note: this type is marked as 'beforefieldinit'.
519 static Rectangle()
520 {
521 }
522
523 // Token: 0x0400226D RID: 8813
524 private static Rectangle emptyRectangle;
525
526 // Token: 0x0400226E RID: 8814
527 public int X;
528
529 // Token: 0x0400226F RID: 8815
530 public int Y;
531
532 // Token: 0x04002270 RID: 8816
533 public int Width;
534
535 // Token: 0x04002271 RID: 8817
536 public int Height;
537 }
538}
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152
static byte Max(byte val1, byte val2)
Definition Math.cs:111
void Offset(int offsetX, int offsetY)
Definition Rectangle.cs:414
bool Contains(Rectangle value)
Definition Rectangle.cs:299
static bool operator==(Rectangle a, Rectangle b)
Definition Rectangle.cs:391
static Rectangle Intersect(Rectangle value1, Rectangle value2)
Definition Rectangle.cs:236
static void Union(Rectangle value1, Rectangle value2, [Out] Rectangle result)
Definition Rectangle.cs:212
bool Intersects(Rectangle rect)
Definition Rectangle.cs:434
void Contains(Rectangle value, [Out] bool result)
Definition Rectangle.cs:324
void Contains(Point value, [Out] bool result)
Definition Rectangle.cs:360
static Rectangle Union(Rectangle value1, Rectangle value2)
Definition Rectangle.cs:185
override bool Equals(object obj)
Definition Rectangle.cs:471
void Inflate(int horizontalValue, int verticalValue)
Definition Rectangle.cs:423
static void Intersect(Rectangle value1, Rectangle value2, [Out] Rectangle result)
Definition Rectangle.cs:370
bool Equals(Rectangle other)
Definition Rectangle.cs:460
Rectangle(int x, int y, int width, int height)
Definition Rectangle.cs:177
static bool operator!=(Rectangle a, Rectangle b)
Definition Rectangle.cs:396
void Intersects(Rectangle value, [Out] bool result)
Definition Rectangle.cs:263