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
DynamicPropertyCollection.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000366 RID: 870
10 {
11 // Token: 0x17000365 RID: 869
12 // (get) Token: 0x06001CFF RID: 7423 RVA: 0x0003F3F0 File Offset: 0x0003D5F0
13 public bool HasProperties
14 {
15 get
16 {
17 /*
18An exception occurred when decompiling this method (06001CFF)
19
20ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Runtime.Remoting.Contexts.DynamicPropertyCollection::get_HasProperties()
21
22 ---> System.Exception: Basic block has to end with unconditional control flow.
23{
24 Block_0:
25 stloc:ArrayList(var_0_06, ldfld:ArrayList(DynamicPropertyCollection::_properties, ldloc:DynamicPropertyCollection(this)))
26}
27
28 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
29 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
30 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
31 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
32 --- End of inner exception stack trace ---
33 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
34 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
35*/;
36 }
37 }
38
39 // Token: 0x06001D00 RID: 7424 RVA: 0x0003F404 File Offset: 0x0003D604
41 {
42 ArrayList properties = this._properties;
43 if (prop != null)
44 {
45 }
46 long num = 0L;
47 int num2;
49 Monitor.Exit(this);
50 if (num == 0L)
51 {
52 }
53 throw new OutOfMemoryException();
54 }
55
56 // Token: 0x06001D01 RID: 7425 RVA: 0x0003F450 File Offset: 0x0003D650
57 public bool UnregisterDynamicProperty(string name)
58 {
59 int num = this.FindProperty(name);
60 long num2 = 0L;
61 Monitor.Exit(this);
62 if (num2 == 0L)
63 {
64 return true;
65 }
66 throw new OutOfMemoryException();
67 }
68
69 // Token: 0x06001D02 RID: 7426 RVA: 0x0003F490 File Offset: 0x0003D690
70 public void NotifyMessage(bool start, IMessage msg, bool client_site, bool async)
71 {
72 ArrayList properties = this._properties;
73 }
74
75 // Token: 0x06001D03 RID: 7427 RVA: 0x0003F544 File Offset: 0x0003D744
76 private int FindProperty(string name)
77 {
78 ArrayList properties = this._properties;
80 if (properties2 != null)
81 {
82 }
83 object[] items = properties2._items;
85 throw new InvalidCastException();
86 }
87
88 // Token: 0x06001D04 RID: 7428 RVA: 0x0003F578 File Offset: 0x0003D778
90 {
91 }
92
93 // Token: 0x04000EB0 RID: 3760
95
96 // Token: 0x02000367 RID: 871
97 private class DynamicPropertyReg
98 {
99 // Token: 0x06001D05 RID: 7429 RVA: 0x0003F58C File Offset: 0x0003D78C
101 {
102 }
103
104 // Token: 0x04000EB1 RID: 3761
106
107 // Token: 0x04000EB2 RID: 3762
109 }
110 }
111}
class f__AnonymousType0<< Count > j__TPar
void NotifyMessage(bool start, IMessage msg, bool client_site, bool async)
static void Exit(object obj)
Definition Monitor.cs:47