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
ObjectHolderList.cs
Go to the documentation of this file.
1using System;
2
4{
5 // Token: 0x020003E1 RID: 993
6 internal class ObjectHolderList
7 {
8 // Token: 0x06001F75 RID: 8053 RVA: 0x000451CC File Offset: 0x000433CC
9 internal ObjectHolderList()
10 {
11 }
12
13 // Token: 0x06001F76 RID: 8054 RVA: 0x000451DC File Offset: 0x000433DC
15 {
16 }
17
18 // Token: 0x06001F77 RID: 8055 RVA: 0x000451F0 File Offset: 0x000433F0
19 internal virtual void Add(ObjectHolder value)
20 {
22 int count = this.m_count;
23 long id = values.m_id;
24 this.EnlargeArray();
26 int count2 = this.m_count;
27 this.m_count = (int)id;
28 if (value == null || value != null)
29 {
30 return;
31 }
33 }
34
35 // Token: 0x06001F78 RID: 8056 RVA: 0x0004523C File Offset: 0x0004343C
37 {
38 /*
39An exception occurred when decompiling this method (06001F78)
40
41ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Runtime.Serialization.ObjectHolderListEnumerator System.Runtime.Serialization.ObjectHolderList::GetFixupEnumerator()
42
43 ---> System.Exception: Basic block has to end with unconditional control flow.
44{
45 Block_0:
46 stloc:int32(var_0_06, ldfld:int32(ObjectHolderList::m_count, ldloc:ObjectHolderList(this)))
47}
48
49 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
50 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
51 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
52 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
53 --- End of inner exception stack trace ---
54 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
55 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
56*/;
57 }
58
59 // Token: 0x06001F79 RID: 8057 RVA: 0x00045250 File Offset: 0x00043450
60 private void EnlargeArray()
61 {
62 long id = this.m_values.m_id;
64 int count = this.m_count;
65 }
66
67 // Token: 0x1700042E RID: 1070
68 // (get) Token: 0x06001F7A RID: 8058 RVA: 0x00045278 File Offset: 0x00043478
69 internal int Version
70 {
71 get
72 {
73 return this.m_count;
74 }
75 }
76
77 // Token: 0x1700042F RID: 1071
78 // (get) Token: 0x06001F7B RID: 8059 RVA: 0x0004528C File Offset: 0x0004348C
79 internal int Count
80 {
81 get
82 {
83 return this.m_count;
84 }
85 }
86
87 // Token: 0x04000FB9 RID: 4025
89
90 // Token: 0x04000FBA RID: 4026
91 internal int m_count;
92 }
93}
class f__AnonymousType0<< Count > j__TPar
ObjectHolderListEnumerator GetFixupEnumerator()