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.5.cs
Go to the documentation of this file.
1using System;
5
6namespace System
7{
8 // Token: 0x0200011F RID: 287
10 [StructLayout(3)]
11 public struct ValueTuple<T1, T2, T3, T4> : IEquatable<ValueTuple<T1, T2, T3, T4>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4>>, IValueTupleInternal, ITuple
12 {
13 // Token: 0x06000B48 RID: 2888 RVA: 0x00018FD8 File Offset: 0x000171D8
14 public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4)
15 {
18 }
19
20 // Token: 0x06000B49 RID: 2889 RVA: 0x00018FF4 File Offset: 0x000171F4
21 public override bool Equals(object obj)
22 {
23 if (obj != null)
24 {
25 }
26 bool flag;
27 return flag;
28 }
29
30 // Token: 0x06000B4A RID: 2890 RVA: 0x0001900C File Offset: 0x0001720C
32 {
33 /*
34An exception occurred when decompiling this method (06000B4A)
35
36ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ValueTuple`4::Equals(System.ValueTuple`4<T1,T2,T3,T4>)
37
38 ---> System.Exception: Basic block has to end with unconditional control flow.
39{
40 Block_0:
41 stloc:!T3(var_0_06, ldfld:!T3(ValueTuple`4::Item3, ldloc:valuetype System.ValueTuple`4&(this)))
42 stloc:!T2(var_1_0D, ldfld:!T2(ValueTuple`4::Item2, ldloc:valuetype System.ValueTuple`4&(this)))
43 stloc:!T2(var_2_14, ldfld:!T2(ValueTuple`4::Item2, ldloc:valuetype System.ValueTuple`4<!T1, !T2, !T3, !T4>[exp:valuetype System.ValueTuple`4&](other)))
44 stloc:!T3(var_4_1D, ldfld:!T3(ValueTuple`4::Item3, ldloc:valuetype System.ValueTuple`4&(this)))
45 stloc:!T3(var_5_25, ldfld:!T3(ValueTuple`4::Item3, ldloc:valuetype System.ValueTuple`4<!T1, !T2, !T3, !T4>[exp:valuetype System.ValueTuple`4&](other)))
46}
47
48 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
49 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
50 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
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 88
52 --- End of inner exception stack trace ---
53 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
54 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
55*/;
56 }
57
58 // Token: 0x06000B4B RID: 2891 RVA: 0x00019040 File Offset: 0x00017240
60 {
61 if (other != null)
62 {
63 T2 item = this.Item2;
64 T3 item2 = this.Item3;
65 }
66 long value = 0.m_value;
67 throw new InvalidCastException();
68 }
69
70 // Token: 0x06000B4C RID: 2892 RVA: 0x0001906C File Offset: 0x0001726C
72 {
73 if (other != null)
74 {
75 int num;
76 return num;
77 }
78 return 1;
79 }
80
81 // Token: 0x06000B4D RID: 2893 RVA: 0x0001908C File Offset: 0x0001728C
83 {
84 /*
85An exception occurred when decompiling this method (06000B4D)
86
87ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.ValueTuple`4::CompareTo(System.ValueTuple`4<T1,T2,T3,T4>)
88
89 ---> System.Exception: Basic block has to end with unconditional control flow.
90{
91 IL_0011:
92 stloc:!T3(var_2_17, ldfld:!T3(ValueTuple`4::Item3, ldloc:valuetype System.ValueTuple`4&(this)))
93 stloc:!T3(var_3_1E, ldfld:!T3(ValueTuple`4::Item3, ldloc:valuetype System.ValueTuple`4<!T1, !T2, !T3, !T4>[exp:valuetype System.ValueTuple`4&](other)))
94}
95
96 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
97 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
98 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
99 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
100 --- End of inner exception stack trace ---
101 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
102 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
103*/;
104 }
105
106 // Token: 0x06000B4E RID: 2894 RVA: 0x000190B8 File Offset: 0x000172B8
108 {
109 if (other != null)
110 {
111 }
112 return 1;
113 }
114
115 // Token: 0x06000B4F RID: 2895 RVA: 0x000190F0 File Offset: 0x000172F0
116 public override int GetHashCode()
117 {
118 if (this.Item2 != null)
119 {
120 }
121 long num = 0L;
122 if (this.Item3 != null)
123 {
124 }
125 long num2 = 0L;
126 int num3;
127 int num4;
128 return ValueTuple.CombineHashCodes(num3, num4, (int)num, (int)num2);
129 }
130
131 // Token: 0x06000B50 RID: 2896 RVA: 0x0001911C File Offset: 0x0001731C
133 {
134 return this.GetHashCodeCore(comparer);
135 }
136
137 // Token: 0x06000B51 RID: 2897 RVA: 0x00019130 File Offset: 0x00017330
139 {
140 T2 item = this.Item2;
141 T3 item2 = this.Item3;
142 int num;
143 return num;
144 }
145
146 // Token: 0x06000B52 RID: 2898 RVA: 0x0001914C File Offset: 0x0001734C
148 {
149 return this.GetHashCodeCore(comparer);
150 }
151
152 // Token: 0x06000B53 RID: 2899 RVA: 0x00019160 File Offset: 0x00017360
153 public override string ToString()
154 {
155 string text;
156 string text2;
157 if (("(" == null || "(" != null) && (text == null || text != null) && (", " == null || ", " != null) && (text2 == null || text2 != null) && (", " == null || ", " != null))
158 {
159 T2 item = this.Item2;
160 if (item == null || item == null || item == null)
161 {
162 }
163 if (", " == null || ", " != null)
164 {
165 T3 item2 = this.Item3;
166 if (item2 == null || item2 == null || item2 == null)
167 {
168 }
169 if (")" == null || ")" != null)
170 {
171 string text3;
172 return text3;
173 }
174 }
175 }
176 throw new ArrayTypeMismatchException();
177 }
178
179 // Token: 0x06000B54 RID: 2900 RVA: 0x000191F8 File Offset: 0x000173F8
181 {
182 string text;
183 string text2;
184 if ((text == null || text != null) && (", " == null || ", " != null) && (text2 == null || text2 != null) && (", " == null || ", " != null))
185 {
186 T2 item = this.Item2;
187 if (item == null || item == null || item == null)
188 {
189 }
190 if (", " == null || ", " != null)
191 {
192 T3 item2 = this.Item3;
193 if (item2 == null || item2 == null || item2 == null)
194 {
195 }
196 if (")" == null || ")" != null)
197 {
198 string text3;
199 return text3;
200 }
201 }
202 }
203 throw new ArrayTypeMismatchException();
204 }
205
206 // Token: 0x170000F8 RID: 248
207 // (get) Token: 0x06000B55 RID: 2901 RVA: 0x00019280 File Offset: 0x00017480
208 int ITuple.Length
209 {
210 get
211 {
212 return 4;
213 }
214 }
215
216 // Token: 0x04000407 RID: 1031
217 public T1 Item1;
218
219 // Token: 0x04000408 RID: 1032
220 public T2 Item2;
221
222 // Token: 0x04000409 RID: 1033
223 public T3 Item3;
224
225 // Token: 0x0400040A RID: 1034
226 public T4 Item4;
227 }
228}
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)
bool Equals(ValueTuple< T1, T2, T3, T4 > other)
override string ToString()
int GetHashCodeCore(IEqualityComparer comparer)
int CompareTo(ValueTuple< T1, T2, T3, T4 > other)
ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4)