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.7.cs
Go to the documentation of this file.
1using System;
5
6namespace System
7{
8 // Token: 0x02000121 RID: 289
10 [StructLayout(3)]
11 public struct ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest> : IEquatable<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>, IValueTupleInternal, ITuple where TRest : struct
12 {
13 // Token: 0x06000B64 RID: 2916 RVA: 0x00019590 File Offset: 0x00017790
14 public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest)
15 {
22 }
23
24 // Token: 0x06000B65 RID: 2917 RVA: 0x000195CC File Offset: 0x000177CC
25 public override bool Equals(object obj)
26 {
27 T2 item = this.Item2;
28 if (obj != null)
29 {
30 }
31 bool flag;
32 return flag;
33 }
34
35 // Token: 0x06000B66 RID: 2918 RVA: 0x000195EC File Offset: 0x000177EC
37 {
38 /*
39An exception occurred when decompiling this method (06000B66)
40
41ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ValueTuple`8::Equals(System.ValueTuple`8<T1,T2,T3,T4,T5,T6,T7,TRest>)
42
43 ---> System.Exception: Basic block has to end with unconditional control flow.
44{
45 Block_0:
46 stloc:!T4(var_0_06, ldfld:!T4(ValueTuple`8::Item4, ldloc:valuetype System.ValueTuple`8&(this)))
47 stloc:!T2(var_1_0D, ldfld:!T2(ValueTuple`8::Item2, ldloc:valuetype System.ValueTuple`8&(this)))
48 stloc:!T2(var_2_14, ldfld:!T2(ValueTuple`8::Item2, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
49 stloc:!T3(var_3_1B, ldfld:!T3(ValueTuple`8::Item3, ldloc:valuetype System.ValueTuple`8&(this)))
50 stloc:!T3(var_4_22, ldfld:!T3(ValueTuple`8::Item3, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
51 stloc:!T4(var_5_2A, ldfld:!T4(ValueTuple`8::Item4, ldloc:valuetype System.ValueTuple`8&(this)))
52 stloc:!T4(var_6_32, ldfld:!T4(ValueTuple`8::Item4, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
53 stloc:!T5(var_7_3A, ldfld:!T5(ValueTuple`8::Item5, ldloc:valuetype System.ValueTuple`8&(this)))
54 stloc:!T5(var_8_42, ldfld:!T5(ValueTuple`8::Item5, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
55 stloc:!T6(var_9_4A, ldfld:!T6(ValueTuple`8::Item6, ldloc:valuetype System.ValueTuple`8&(this)))
56 stloc:!T6(var_10_52, ldfld:!T6(ValueTuple`8::Item6, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
57}
58
59 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
60 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
61 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
62 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
63 --- End of inner exception stack trace ---
64 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
65 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
66*/;
67 }
68
69 // Token: 0x06000B67 RID: 2919 RVA: 0x00019650 File Offset: 0x00017850
71 {
72 if (other != null)
73 {
74 T2 item = this.Item2;
75 T3 item2 = this.Item3;
76 T4 item3 = this.Item4;
77 T5 item4 = this.Item5;
78 T6 item5 = this.Item6;
79 }
80 long value = 0.m_value;
81 throw new InvalidCastException();
82 }
83
84 // Token: 0x06000B68 RID: 2920 RVA: 0x00019694 File Offset: 0x00017894
86 {
87 if (other != null)
88 {
89 int num;
90 return num;
91 }
92 return 1;
93 }
94
95 // Token: 0x06000B69 RID: 2921 RVA: 0x000196B4 File Offset: 0x000178B4
97 {
98 /*
99An exception occurred when decompiling this method (06000B69)
100
101ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.ValueTuple`8::CompareTo(System.ValueTuple`8<T1,T2,T3,T4,T5,T6,T7,TRest>)
102
103 ---> System.Exception: Basic block has to end with unconditional control flow.
104{
105 Block_0:
106 stloc:!T2(var_0_09, ldfld:!T2(ValueTuple`8::Item2, ldloc:valuetype System.ValueTuple`8&(this)))
107 stloc:!T2(var_1_10, ldfld:!T2(ValueTuple`8::Item2, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
108 stloc:!T3(var_2_17, ldfld:!T3(ValueTuple`8::Item3, ldloc:valuetype System.ValueTuple`8&(this)))
109 stloc:!T3(var_3_1E, ldfld:!T3(ValueTuple`8::Item3, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
110 stloc:!T4(var_4_25, ldfld:!T4(ValueTuple`8::Item4, ldloc:valuetype System.ValueTuple`8&(this)))
111 stloc:!T4(var_5_2D, ldfld:!T4(ValueTuple`8::Item4, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
112 stloc:!T5(var_6_35, ldfld:!T5(ValueTuple`8::Item5, ldloc:valuetype System.ValueTuple`8&(this)))
113 stloc:!T5(var_7_3D, ldfld:!T5(ValueTuple`8::Item5, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
114 stloc:!T6(var_8_45, ldfld:!T6(ValueTuple`8::Item6, ldloc:valuetype System.ValueTuple`8&(this)))
115 stloc:!T6(var_9_4D, ldfld:!T6(ValueTuple`8::Item6, ldloc:valuetype System.ValueTuple`8<!T1, !T2, !T3, !T4, !T5, !T6, !T7, !TRest>[exp:valuetype System.ValueTuple`8&](other)))
116}
117
118 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
119 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
120 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
121 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
122 --- End of inner exception stack trace ---
123 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
124 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
125*/;
126 }
127
128 // Token: 0x06000B6A RID: 2922 RVA: 0x00019710 File Offset: 0x00017910
130 {
131 if (other != null)
132 {
133 }
134 return 1;
135 }
136
137 // Token: 0x06000B6B RID: 2923 RVA: 0x0001976C File Offset: 0x0001796C
138 public override int GetHashCode()
139 {
140 int num;
141 int hashCode = num.GetHashCode();
142 int num2;
143 int hashCode2 = num2.GetHashCode();
144 int num3;
145 int hashCode3 = num3.GetHashCode();
146 int num4;
147 return ValueTuple.CombineHashCodes(num, hashCode, num2, hashCode2, num3, hashCode3, num4);
148 }
149
150 // Token: 0x06000B6C RID: 2924 RVA: 0x00019868 File Offset: 0x00017A68
152 {
153 return this.GetHashCodeCore(comparer);
154 }
155
156 // Token: 0x06000B6D RID: 2925 RVA: 0x0001987C File Offset: 0x00017A7C
158 {
159 T2 item = this.Item2;
160 T3 item2 = this.Item3;
161 T4 item3 = this.Item4;
162 T5 item4 = this.Item5;
163 T6 item5 = this.Item6;
164 int num;
165 return num;
166 }
167
168 // Token: 0x06000B6E RID: 2926 RVA: 0x00019904 File Offset: 0x00017B04
170 {
171 return this.GetHashCodeCore(comparer);
172 }
173
174 // Token: 0x06000B6F RID: 2927 RVA: 0x00019918 File Offset: 0x00017B18
175 public override string ToString()
176 {
177 string text;
178 string text2;
179 string text3;
180 string text4;
181 string text5;
182 string text6;
183 string text7;
184 string text8;
185 string text9;
186 string text10;
187 string text11;
188 string text12;
189 string text13;
190 string text14;
191 string text15;
192 if (("(" == null || "(" != null) && (text == null || text != null) && (", " == null || ", " != null) && (text2 == null || text2 != null) && (", " == null || ", " != null) && (text3 == null || text3 != null) && (", " == null || ", " != null) && (text4 == null || text4 != null) && (", " == null || ", " != null) && (text5 == null || text5 != null) && (", " == null || ", " != null) && (text6 == null || text6 != null) && (", " == null || ", " != null) && (text7 == null || text7 != null) && (", " == null || ", " != null) && (text8 == null || text8 != null) && (", " == null || ", " != null) && text9 != null && (", " == null || ", " != null) && (text10 == null || text10 != null) && (", " == null || ", " != null) && (text11 == null || text11 != null) && (", " == null || ", " != null) && (text12 == null || text12 != null) && (", " == null || ", " != null) && (text13 == null || text13 != null) && (", " == null || ", " != null) && (text14 == null || text14 != null) && (", " == null || ", " != null) && (text15 == null || text15 != null) && (")" == null || ")" != null))
193 {
194 return ")";
195 }
196 throw new ArrayTypeMismatchException();
197 }
198
199 // Token: 0x06000B70 RID: 2928 RVA: 0x00019AD8 File Offset: 0x00017CD8
201 {
202 string text;
203 string text2;
204 string text3;
205 string text4;
206 string text5;
207 string text6;
208 string text7;
209 string text8;
210 string text9;
211 string text10;
212 string text11;
213 string text12;
214 string text13;
215 string text14;
216 string text15;
217 if ((text == null || text != null) && (text2 == null || text2 != null) && (text3 == null || text3 != null) && (text4 == null || text4 != null) && (text5 == null || text5 != null) && (text6 == null || text6 != null) && (text7 == null || text7 != null) && (text8 == null || text8 != null) && (text9 == null || text9 != null) && (text10 == null || text10 != null) && (text11 == null || text11 != null) && (text12 == null || text12 != null) && (text13 == null || text13 != null) && (text14 == null || text14 != null) && (text15 == null || text15 != null) && (")" == null || ")" != null))
218 {
219 return ")";
220 }
221 throw new ArrayTypeMismatchException();
222 }
223
224 // Token: 0x170000FA RID: 250
225 // (get) Token: 0x06000B71 RID: 2929 RVA: 0x00019B9C File Offset: 0x00017D9C
226 int ITuple.Length
227 {
228 get
229 {
230 return 8;
231 }
232 }
233
234 // Token: 0x04000410 RID: 1040
235 public T1 Item1;
236
237 // Token: 0x04000411 RID: 1041
238 public T2 Item2;
239
240 // Token: 0x04000412 RID: 1042
241 public T3 Item3;
242
243 // Token: 0x04000413 RID: 1043
244 public T4 Item4;
245
246 // Token: 0x04000414 RID: 1044
247 public T5 Item5;
248
249 // Token: 0x04000415 RID: 1045
250 public T6 Item6;
251
252 // Token: 0x04000416 RID: 1046
253 public T7 Item7;
254
255 // Token: 0x04000417 RID: 1047
256 public TRest Rest;
257 }
258}
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
int CompareTo(ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest > other)
override int GetHashCode()
override bool Equals(object obj)
override string ToString()
bool Equals(ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest > other)
int GetHashCodeCore(IEqualityComparer comparer)
ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest)