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
ValueTuple.4.cs
Go to the documentation of this file.
1using System;
5
6namespace System
7{
8 // Token: 0x0200011E RID: 286
10 [StructLayout(3)]
11 public struct ValueTuple<T1, T2, T3> : IEquatable<ValueTuple<T1, T2, T3>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3>>, IValueTupleInternal, ITuple
12 {
13 // Token: 0x06000B3A RID: 2874 RVA: 0x00018DD0 File Offset: 0x00016FD0
14 public ValueTuple(T1 item1, T2 item2, T3 item3)
15 {
19 }
20
21 // Token: 0x06000B3B RID: 2875 RVA: 0x00018DF4 File Offset: 0x00016FF4
22 public override bool Equals(object obj)
23 {
24 if (obj != null)
25 {
26 }
27 bool flag;
28 return flag;
29 }
30
31 // Token: 0x06000B3C RID: 2876 RVA: 0x00018E10 File Offset: 0x00017010
33 {
34 /*
35An exception occurred when decompiling this method (06000B3C)
36
37ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ValueTuple`3::Equals(System.ValueTuple`3<T1,T2,T3>)
38
39 ---> System.Exception: Basic block has to end with unconditional control flow.
40{
41 Block_0:
42 stloc:!T3(var_0_06, ldfld:!T3(ValueTuple`3::Item3, ldloc:valuetype System.ValueTuple`3&(this)))
43 stloc:!T2(var_1_0D, ldfld:!T2(ValueTuple`3::Item2, ldloc:valuetype System.ValueTuple`3&(this)))
44}
45
46 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
47 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
48 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
49 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
50 --- End of inner exception stack trace ---
51 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
52 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
53*/;
54 }
55
56 // Token: 0x06000B3D RID: 2877 RVA: 0x00018E2C File Offset: 0x0001702C
58 {
59 if (other != null)
60 {
61 T2 item = this.Item2;
62 }
63 long value = 0.m_value;
64 throw new InvalidCastException();
65 }
66
67 // Token: 0x06000B3E RID: 2878 RVA: 0x00018E50 File Offset: 0x00017050
69 {
70 if (other != null)
71 {
72 int num;
73 return num;
74 }
75 return 1;
76 }
77
78 // Token: 0x06000B3F RID: 2879 RVA: 0x00018E6C File Offset: 0x0001706C
80 {
81 /*
82An exception occurred when decompiling this method (06000B3F)
83
84ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.ValueTuple`3::CompareTo(System.ValueTuple`3<T1,T2,T3>)
85
86 ---> System.Exception: Basic block has to end with unconditional control flow.
87{
88 Block_0:
89 stloc:!T2(var_0_09, ldfld:!T2(ValueTuple`3::Item2, ldloc:valuetype System.ValueTuple`3&(this)))
90}
91
92 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
93 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
94 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
95 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
96 --- End of inner exception stack trace ---
97 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
98 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
99*/;
100 }
101
102 // Token: 0x06000B40 RID: 2880 RVA: 0x00018E84 File Offset: 0x00017084
104 {
105 if (other != null)
106 {
107 }
108 return 1;
109 }
110
111 // Token: 0x06000B41 RID: 2881 RVA: 0x00018EB4 File Offset: 0x000170B4
112 public override int GetHashCode()
113 {
114 int num;
115 int num2;
116 return ValueTuple.CombineHashCodes(0, num, num2);
117 }
118
119 // Token: 0x06000B42 RID: 2882 RVA: 0x00018ECC File Offset: 0x000170CC
121 {
122 return this.GetHashCodeCore(comparer);
123 }
124
125 // Token: 0x06000B43 RID: 2883 RVA: 0x00018EE0 File Offset: 0x000170E0
127 {
128 T2 item = this.Item2;
129 int num;
130 return num;
131 }
132
133 // Token: 0x06000B44 RID: 2884 RVA: 0x00018EF8 File Offset: 0x000170F8
135 {
136 return this.GetHashCodeCore(comparer);
137 }
138
139 // Token: 0x06000B45 RID: 2885 RVA: 0x00018F0C File Offset: 0x0001710C
140 public override string ToString()
141 {
142 string text;
143 string text2;
144 if (("(" == null || "(" != null) && (", " == null || ", " != null) && (text == null || text != null) && (", " == null || ", " != null) && (text2 == null || text2 != null) && (")" == null || ")" != null))
145 {
146 string text3;
147 return text3;
148 }
149 throw new ArrayTypeMismatchException();
150 }
151
152 // Token: 0x06000B46 RID: 2886 RVA: 0x00018F6C File Offset: 0x0001716C
154 {
155 int num = 1;
156 if (num == 0 || (num != 0 && num == 0))
157 {
158 }
159 string text;
160 string text2;
161 if ((", " == null || ", " != null) && (text == null || text != null) && (", " == null || ", " != null) && (text2 == null || text2 != null) && (")" == null || ")" != null))
162 {
163 string text3;
164 return text3;
165 }
166 throw new ArrayTypeMismatchException();
167 }
168
169 // Token: 0x170000F7 RID: 247
170 // (get) Token: 0x06000B47 RID: 2887 RVA: 0x00018FC8 File Offset: 0x000171C8
171 int ITuple.Length
172 {
173 get
174 {
175 return 3;
176 }
177 }
178
179 // Token: 0x04000404 RID: 1028
180 public T1 Item1;
181
182 // Token: 0x04000405 RID: 1029
183 public T2 Item2;
184
185 // Token: 0x04000406 RID: 1030
186 public T3 Item3;
187 }
188}
class f__AnonymousType0<< Count > j__TPar
int CompareTo(object other, IComparer comparer)
int GetHashCode(IEqualityComparer comparer)
bool Equals(object other, IEqualityComparer comparer)
int CompareTo(T other)
int GetHashCode(IEqualityComparer comparer)
static int CombineHashCodes(int h1, int h2)
Definition ValueTuple.cs:92
override int GetHashCode()
override bool Equals(object obj)
override string ToString()
bool Equals(ValueTuple< T1, T2, T3 > other)
int CompareTo(ValueTuple< T1, T2, T3 > other)
ValueTuple(T1 item1, T2 item2, T3 item3)
int GetHashCodeCore(IEqualityComparer comparer)