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__AnonymousType3.cs
Go to the documentation of this file.
1using System;
4
5// Token: 0x02000005 RID: 5
8{
9 // Token: 0x17000007 RID: 7
10 // (get) Token: 0x06000013 RID: 19 RVA: 0x0000225C File Offset: 0x0000045C
12 {
13 get
14 {
15 return this.<itemId>i__Field;
16 }
17 }
18
19 // Token: 0x17000008 RID: 8
20 // (get) Token: 0x06000014 RID: 20 RVA: 0x00002270 File Offset: 0x00000470
22 {
23 get
24 {
25 return this.<count>i__Field;
26 }
27 }
28
29 // Token: 0x06000015 RID: 21 RVA: 0x00002284 File Offset: 0x00000484
32 {
33 this.<itemId>i__Field = itemId;
34 this.<count>i__Field = count;
35 }
36
37 // Token: 0x06000016 RID: 22 RVA: 0x000022A8 File Offset: 0x000004A8
39 public override bool Equals(object value)
40 {
41 if (value != null)
42 {
43 <itemId>j__TPar <itemId>j__TPar = this.<itemId>i__Field;
45 return;
46 }
47 }
48
49 // Token: 0x06000017 RID: 23 RVA: 0x000022C8 File Offset: 0x000004C8
51 public override int GetHashCode()
52 {
53 /*
54An exception occurred when decompiling this method (06000017)
55
56ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 <>f__AnonymousType3`2::GetHashCode()
57
58 ---> System.Exception: Basic block has to end with unconditional control flow.
59{
60 Block_0:
61 stloc:!'<itemId>j__TPar'(var_0_06, ldfld:!'<itemId>j__TPar'('<>f__AnonymousType3`2'::<itemId>i__Field, ldloc:'<>f__AnonymousType3`2'(this)))
62 stloc:!'<count>j__TPar'(var_1_0D, ldfld:!'<count>j__TPar'('<>f__AnonymousType3`2'::<count>i__Field, ldloc:'<>f__AnonymousType3`2'(this)))
63}
64
65 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
66 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
67 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
68 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
69 --- End of inner exception stack trace ---
70 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
71 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
72*/;
73 }
74
75 // Token: 0x06000018 RID: 24 RVA: 0x000022E4 File Offset: 0x000004E4
77 public override string ToString()
78 {
79 <itemId>j__TPar <itemId>j__TPar = this.<itemId>i__Field;
80 string text;
81 if (text == null || text != null)
82 {
84 string text2;
85 if (text2 == null || text2 != null)
86 {
87 string text3;
88 return text3;
89 }
90 }
92 }
93
94 // Token: 0x04000007 RID: 7
97
98 // Token: 0x04000008 RID: 8
101}
class f__AnonymousType3<< itemId > j__TPar