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
EnumEqualityComparer.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200065A RID: 1626
10 {
11 // Token: 0x060031A2 RID: 12706 RVA: 0x0000207A File Offset: 0x0000027A
12 public override bool Equals(T x, T y)
13 {
14 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
15 }
16
17 // Token: 0x060031A3 RID: 12707 RVA: 0x0006B8C8 File Offset: 0x00069AC8
18 public override int GetHashCode(T obj)
19 {
20 int num;
21 return num;
22 }
23
24 // Token: 0x060031A4 RID: 12708 RVA: 0x0006B8D8 File Offset: 0x00069AD8
26 {
27 }
28
29 // Token: 0x060031A5 RID: 12709 RVA: 0x0006B8E8 File Offset: 0x00069AE8
33
34 // Token: 0x060031A6 RID: 12710 RVA: 0x0006B8F8 File Offset: 0x00069AF8
36 {
37 Type type;
39 }
40
41 // Token: 0x060031A7 RID: 12711 RVA: 0x0006B91C File Offset: 0x00069B1C
42 public override bool Equals(object obj)
43 {
44 }
45
46 // Token: 0x060031A8 RID: 12712 RVA: 0x0006B92C File Offset: 0x00069B2C
47 public override int GetHashCode()
48 {
49 /*
50An exception occurred when decompiling this method (060031A8)
51
52ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Collections.Generic.EnumEqualityComparer`1::GetHashCode()
53
54 ---> System.Exception: Basic block has to end with unconditional control flow.
55{
56 Block_0:
57 stloc:Type(var_0_06, call:Type(object::GetType, ldloc:EnumEqualityComparer`1[exp:object](this)))
58}
59
60 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
61 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
62 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
63 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
64 --- End of inner exception stack trace ---
65 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
66 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
67*/;
68 }
69 }
70}
class f__AnonymousType0<< Count > j__TPar
void GetObjectData(SerializationInfo info, StreamingContext context)
EnumEqualityComparer(SerializationInfo information, StreamingContext context)
static Type GetUnderlyingType(Type enumType)
Definition Enum.cs:205
static TypeCode GetTypeCode(Type type)
Definition Type.cs:1110
TypeCode
Definition TypeCode.cs:7