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
--f__AnonymousType7.cs
Go to the documentation of this file.
1using System;
5
6// Token: 0x02000009 RID: 9
9{
10 // Token: 0x1700000C RID: 12
11 // (get) Token: 0x06000028 RID: 40 RVA: 0x000024A4 File Offset: 0x000006A4
13 {
14 get
15 {
16 return this.<NeededWidth>i__Field;
17 }
18 }
19
20 // Token: 0x1700000D RID: 13
21 // (get) Token: 0x06000029 RID: 41 RVA: 0x000021DB File Offset: 0x000003DB
23 {
24 get
25 {
26 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
27 }
28 }
29
30 // Token: 0x1700000E RID: 14
31 // (get) Token: 0x0600002A RID: 42 RVA: 0x000024B8 File Offset: 0x000006B8
33 {
34 get
35 {
36 return this.<NeededHeight>i__Field;
37 }
38 }
39
40 // Token: 0x1700000F RID: 15
41 // (get) Token: 0x0600002B RID: 43 RVA: 0x000021DB File Offset: 0x000003DB
43 {
44 get
45 {
46 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
47 }
48 }
49
50 // Token: 0x0600002C RID: 44 RVA: 0x000024CC File Offset: 0x000006CC
53 {
54 this.<NeededWidth>i__Field = NeededWidth;
55 this.<NeededHeight>i__Field = NeededHeight;
56 this.<NeededHeight>i__Field = ActualWidth;
57 this.<ActualWidth>i__Field = ActualHeight;
58 }
59
60 // Token: 0x0600002D RID: 45 RVA: 0x000024FC File Offset: 0x000006FC
62 public override bool Equals(object value)
63 {
64 if (value != null)
65 {
68 return;
69 }
70 }
71
72 // Token: 0x0600002E RID: 46 RVA: 0x0000251C File Offset: 0x0000071C
74 public override int GetHashCode()
75 {
76 /*
77An exception occurred when decompiling this method (0600002E)
78
79ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 <>f__AnonymousType7`4::GetHashCode()
80
81 ---> System.Exception: Basic block has to end with unconditional control flow.
82{
83 Block_0:
84 stloc:!'<NeededWidth>j__TPar'(var_0_06, ldfld:!'<NeededWidth>j__TPar'('<>f__AnonymousType7`4'::<NeededWidth>i__Field, ldloc:'<>f__AnonymousType7`4'(this)))
85 stloc:!'<NeededHeight>j__TPar'(var_1_0D, ldfld:!'<NeededHeight>j__TPar'('<>f__AnonymousType7`4'::<NeededHeight>i__Field, ldloc:'<>f__AnonymousType7`4'(this)))
86}
87
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 1852
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 // Token: 0x0600002F RID: 47 RVA: 0x00002538 File Offset: 0x00000738
100 public override string ToString()
101 {
103 string text;
104 string text2;
105 if ((text == null || text != null) && (text2 == null || text2 != null))
106 {
108 string text3;
109 string text4;
110 if ((text3 == null || text3 != null) && (text4 == null || text4 != null))
111 {
112 string text5;
113 return text5;
114 }
115 }
116 throw new ArrayTypeMismatchException();
117 }
118
119 // Token: 0x0400000C RID: 12
122
123 // Token: 0x0400000D RID: 13
126
127 // Token: 0x0400000E RID: 14
130
131 // Token: 0x0400000F RID: 15
134}
class f__AnonymousType7<< NeededWidth > j__TPar