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__AnonymousType1.cs
Go to the documentation of this file.
1using System;
4
5// Token: 0x02000003 RID: 3
6[CompilerGenerated]
7internal sealed class <>f__AnonymousType1<<Adjective>j__TPar, <Location>j__TPar, <Noun>j__TPar>
8{
9 // Token: 0x17000002 RID: 2
10 // (get) Token: 0x06000006 RID: 6 RVA: 0x000020D0 File Offset: 0x000002D0
11 public <Adjective>j__TPar Adjective
12 {
13 get
14 {
15 return this.<Adjective>i__Field;
16 }
17 }
18
19 // Token: 0x17000003 RID: 3
20 // (get) Token: 0x06000007 RID: 7 RVA: 0x000020E4 File Offset: 0x000002E4
21 public <Location>j__TPar Location
22 {
23 get
24 {
25 return this.<Location>i__Field;
26 }
27 }
28
29 // Token: 0x17000004 RID: 4
30 // (get) Token: 0x06000008 RID: 8 RVA: 0x000020F8 File Offset: 0x000002F8
31 public <Noun>j__TPar Noun
32 {
33 get
34 {
35 return this.<Noun>i__Field;
36 }
37 }
38
39 // Token: 0x06000009 RID: 9 RVA: 0x0000210C File Offset: 0x0000030C
40 [DebuggerHidden]
41 public <>f__AnonymousType1(<Adjective>j__TPar Adjective, <Location>j__TPar Location, <Noun>j__TPar Noun)
42 {
43 this.<Adjective>i__Field = Adjective;
44 this.<Location>i__Field = Location;
45 this.<Noun>i__Field = Noun;
46 }
47
48 // Token: 0x0600000A RID: 10 RVA: 0x00002134 File Offset: 0x00000334
49 [DebuggerHidden]
50 public override bool Equals(object value)
51 {
52 if (value != null)
53 {
54 <Adjective>j__TPar <Adjective>j__TPar = this.<Adjective>i__Field;
55 <Location>j__TPar <Location>j__TPar = this.<Location>i__Field;
57 return;
58 }
59 }
60
61 // Token: 0x0600000B RID: 11 RVA: 0x0000215C File Offset: 0x0000035C
63 public override int GetHashCode()
64 {
65 /*
66An exception occurred when decompiling this method (0600000B)
67
68ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 <>f__AnonymousType1`3::GetHashCode()
69
70 ---> System.Exception: Basic block has to end with unconditional control flow.
71{
72 Block_0:
73 stloc:!'<Adjective>j__TPar'(var_0_06, ldfld:!'<Adjective>j__TPar'('<>f__AnonymousType1`3'::<Adjective>i__Field, ldloc:'<>f__AnonymousType1`3'(this)))
74 stloc:!'<Location>j__TPar'(var_1_0D, ldfld:!'<Location>j__TPar'('<>f__AnonymousType1`3'::<Location>i__Field, ldloc:'<>f__AnonymousType1`3'(this)))
75 stloc:!'<Noun>j__TPar'(var_2_14, ldfld:!'<Noun>j__TPar'('<>f__AnonymousType1`3'::<Noun>i__Field, ldloc:'<>f__AnonymousType1`3'(this)))
76}
77
78 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
79 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
80 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
81 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
82 --- End of inner exception stack trace ---
83 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
84 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
85*/;
86 }
87
88 // Token: 0x0600000C RID: 12 RVA: 0x00002180 File Offset: 0x00000380
90 public override string ToString()
91 {
93 if (<Adjective>j__TPar == null || <Adjective>j__TPar == null || <Adjective>j__TPar == null)
94 {
95 }
96 <Location>j__TPar <Location>j__TPar = this.<Location>i__Field;
97 if (<Location>j__TPar == null || <Location>j__TPar == null || <Location>j__TPar == null)
98 {
99 }
100 <Noun>j__TPar <Noun>j__TPar = this.<Noun>i__Field;
101 if (<Noun>j__TPar != null && <Noun>j__TPar != null && <Noun>j__TPar == null)
102 {
103 throw new ArrayTypeMismatchException();
104 }
105 string text;
106 return text;
107 }
108
109 // Token: 0x04000002 RID: 2
112
113 // Token: 0x04000003 RID: 3
116
117 // Token: 0x04000004 RID: 4
120}
class f__AnonymousType1<< Adjective > j__TPar