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.6.cs
Go to the documentation of this file.
1using System;
5
6namespace System
7{
8 // Token: 0x02000120 RID: 288
10 [StructLayout(3)]
11 public struct ValueTuple<T1, T2, T3, T4, T5> : IEquatable<ValueTuple<T1, T2, T3, T4, T5>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5>>, IValueTupleInternal, ITuple
12 {
13 // Token: 0x06000B56 RID: 2902 RVA: 0x00019290 File Offset: 0x00017490
14 public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5)
15 {
20 }
21
22 // Token: 0x06000B57 RID: 2903 RVA: 0x000192BC File Offset: 0x000174BC
23 public override bool Equals(object obj)
24 {
25 if (obj != null)
26 {
27 }
28 bool flag;
29 return flag;
30 }
31
32 // Token: 0x06000B58 RID: 2904 RVA: 0x000192D8 File Offset: 0x000174D8
34 {
35 /*
36An exception occurred when decompiling this method (06000B58)
37
38ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ValueTuple`5::Equals(System.ValueTuple`5<T1,T2,T3,T4,T5>)
39
40 ---> System.Exception: Basic block has to end with unconditional control flow.
41{
42 Block_0:
43 stloc:!T3(var_0_06, ldfld:!T3(ValueTuple`5::Item3, ldloc:valuetype System.ValueTuple`5&(this)))
44 stloc:!T2(var_1_0D, ldfld:!T2(ValueTuple`5::Item2, ldloc:valuetype System.ValueTuple`5&(this)))
45 stloc:!T2(var_2_14, ldfld:!T2(ValueTuple`5::Item2, ldloc:valuetype System.ValueTuple`5<!T1, !T2, !T3, !T4, !T5>[exp:valuetype System.ValueTuple`5&](other)))
46 stloc:!T3(var_3_1B, ldfld:!T3(ValueTuple`5::Item3, ldloc:valuetype System.ValueTuple`5&(this)))
47 stloc:!T3(var_4_22, ldfld:!T3(ValueTuple`5::Item3, ldloc:valuetype System.ValueTuple`5<!T1, !T2, !T3, !T4, !T5>[exp:valuetype System.ValueTuple`5&](other)))
48 stloc:!T4(var_5_2A, ldfld:!T4(ValueTuple`5::Item4, ldloc:valuetype System.ValueTuple`5&(this)))
49 stloc:!T4(var_6_32, ldfld:!T4(ValueTuple`5::Item4, ldloc:valuetype System.ValueTuple`5<!T1, !T2, !T3, !T4, !T5>[exp:valuetype System.ValueTuple`5&](other)))
50}
51
52 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
53 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
54 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
55 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
56 --- End of inner exception stack trace ---
57 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
58 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
59*/;
60 }
61
62 // Token: 0x06000B59 RID: 2905 RVA: 0x0001931C File Offset: 0x0001751C
64 {
65 if (other != null)
66 {
67 T2 item = this.Item2;
68 T3 item2 = this.Item3;
69 T4 item3 = this.Item4;
70 }
71 long value = 0.m_value;
72 throw new InvalidCastException();
73 }
74
75 // Token: 0x06000B5A RID: 2906 RVA: 0x00019350 File Offset: 0x00017550
77 {
78 if (other != null)
79 {
80 int num;
81 return num;
82 }
83 return 1;
84 }
85
86 // Token: 0x06000B5B RID: 2907 RVA: 0x00019370 File Offset: 0x00017570
88 {
89 /*
90An exception occurred when decompiling this method (06000B5B)
91
92ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.ValueTuple`5::CompareTo(System.ValueTuple`5<T1,T2,T3,T4,T5>)
93
94 ---> System.Exception: Basic block has to end with unconditional control flow.
95{
96 Block_0:
97 stloc:!T2(var_0_09, ldfld:!T2(ValueTuple`5::Item2, ldloc:valuetype System.ValueTuple`5&(this)))
98 stloc:!T2(var_1_10, ldfld:!T2(ValueTuple`5::Item2, ldloc:valuetype System.ValueTuple`5<!T1, !T2, !T3, !T4, !T5>[exp:valuetype System.ValueTuple`5&](other)))
99 stloc:!T3(var_2_17, ldfld:!T3(ValueTuple`5::Item3, ldloc:valuetype System.ValueTuple`5&(this)))
100 stloc:!T3(var_3_1E, ldfld:!T3(ValueTuple`5::Item3, ldloc:valuetype System.ValueTuple`5<!T1, !T2, !T3, !T4, !T5>[exp:valuetype System.ValueTuple`5&](other)))
101 stloc:!T4(var_4_25, ldfld:!T4(ValueTuple`5::Item4, ldloc:valuetype System.ValueTuple`5&(this)))
102 stloc:!T4(var_5_2D, ldfld:!T4(ValueTuple`5::Item4, ldloc:valuetype System.ValueTuple`5<!T1, !T2, !T3, !T4, !T5>[exp:valuetype System.ValueTuple`5&](other)))
103}
104
105 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
106 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
107 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
108 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
109 --- End of inner exception stack trace ---
110 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
111 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
112*/;
113 }
114
115 // Token: 0x06000B5C RID: 2908 RVA: 0x000193AC File Offset: 0x000175AC
117 {
118 if (other != null)
119 {
120 }
121 return 1;
122 }
123
124 // Token: 0x06000B5D RID: 2909 RVA: 0x000193F0 File Offset: 0x000175F0
125 public override int GetHashCode()
126 {
127 int num;
128 int hashCode = num.GetHashCode();
129 int num2;
130 int hashCode2 = num2.GetHashCode();
131 int num3;
132 return ValueTuple.CombineHashCodes(num, hashCode, num2, hashCode2, num3);
133 }
134
135 // Token: 0x06000B5E RID: 2910 RVA: 0x00019418 File Offset: 0x00017618
137 {
138 return this.GetHashCodeCore(comparer);
139 }
140
141 // Token: 0x06000B5F RID: 2911 RVA: 0x0001942C File Offset: 0x0001762C
143 {
144 T2 item = this.Item2;
145 T3 item2 = this.Item3;
146 T4 item3 = this.Item4;
147 int num;
148 return num;
149 }
150
151 // Token: 0x06000B60 RID: 2912 RVA: 0x00019450 File Offset: 0x00017650
153 {
154 return this.GetHashCodeCore(comparer);
155 }
156
157 // Token: 0x06000B61 RID: 2913 RVA: 0x00019464 File Offset: 0x00017664
158 public override string ToString()
159 {
160 string text;
161 string text2;
162 string text3;
163 string text4;
164 string text5;
165 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) && (text5 == null || text5 != null))
166 {
167 string text6;
168 return text6;
169 }
170 throw new ArrayTypeMismatchException();
171 }
172
173 // Token: 0x06000B62 RID: 2914 RVA: 0x000194F8 File Offset: 0x000176F8
175 {
176 string text;
177 string text2;
178 string text3;
179 string text4;
180 string text5;
181 if ((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))
182 {
183 string text6;
184 return text6;
185 }
186 throw new ArrayTypeMismatchException();
187 }
188
189 // Token: 0x170000F9 RID: 249
190 // (get) Token: 0x06000B63 RID: 2915 RVA: 0x00019580 File Offset: 0x00017780
191 int ITuple.Length
192 {
193 get
194 {
195 return 5;
196 }
197 }
198
199 // Token: 0x0400040B RID: 1035
200 public T1 Item1;
201
202 // Token: 0x0400040C RID: 1036
203 public T2 Item2;
204
205 // Token: 0x0400040D RID: 1037
206 public T3 Item3;
207
208 // Token: 0x0400040E RID: 1038
209 public T4 Item4;
210
211 // Token: 0x0400040F RID: 1039
212 public T5 Item5;
213 }
214}
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
bool Equals(ValueTuple< T1, T2, T3, T4, T5 > other)
override int GetHashCode()
int CompareTo(ValueTuple< T1, T2, T3, T4, T5 > other)
override bool Equals(object obj)
override string ToString()
int GetHashCodeCore(IEqualityComparer comparer)
ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5)