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
ConstructionCall.cs
Go to the documentation of this file.
1using System;
7
9{
10 // Token: 0x020003A3 RID: 931
11 [CLSCompliant(false)]
12 [ComVisible(true)]
15 {
16 // Token: 0x06001DE1 RID: 7649 RVA: 0x000414BC File Offset: 0x0003F6BC
17 internal ConstructionCall(Type type)
18 {
21 this._isContextOk = true;
22 }
23
24 // Token: 0x06001DE2 RID: 7650 RVA: 0x000414E4 File Offset: 0x0003F6E4
26 : base(info, context)
27 {
28 }
29
30 // Token: 0x06001DE3 RID: 7651 RVA: 0x000414FC File Offset: 0x0003F6FC
31 internal override void InitDictionary()
32 {
33 }
34
35 // Token: 0x170003A4 RID: 932
36 // (get) Token: 0x06001DE4 RID: 7652 RVA: 0x0004150C File Offset: 0x0003F70C
37 // (set) Token: 0x06001DE5 RID: 7653 RVA: 0x00041520 File Offset: 0x0003F720
38 internal bool IsContextOk
39 {
40 get
41 {
42 return this._isContextOk;
43 }
44 set
45 {
46 }
47 }
48
49 // Token: 0x170003A5 RID: 933
50 // (get) Token: 0x06001DE6 RID: 7654 RVA: 0x00041530 File Offset: 0x0003F730
52 {
53 get
54 {
56 if (!true)
57 {
58 }
60 if (!true)
61 {
62 }
64 return this._activationType;
65 }
66 }
67
68 // Token: 0x170003A6 RID: 934
69 // (get) Token: 0x06001DE7 RID: 7655 RVA: 0x00041560 File Offset: 0x0003F760
70 public string ActivationTypeName
71 {
72 get
73 {
74 return this._activationTypeName;
75 }
76 }
77
78 // Token: 0x170003A7 RID: 935
79 // (get) Token: 0x06001DE8 RID: 7656 RVA: 0x00041574 File Offset: 0x0003F774
80 // (set) Token: 0x06001DE9 RID: 7657 RVA: 0x00041588 File Offset: 0x0003F788
82 {
83 get
84 {
85 return this._activator;
86 }
87 set
88 {
90 }
91 }
92
93 // Token: 0x170003A8 RID: 936
94 // (get) Token: 0x06001DEA RID: 7658 RVA: 0x0004159C File Offset: 0x0003F79C
96 {
97 get
98 {
99 return this._activationAttributes;
100 }
101 }
102
103 // Token: 0x06001DEB RID: 7659 RVA: 0x000415B0 File Offset: 0x0003F7B0
104 internal void SetActivationAttributes(object[] attributes)
105 {
106 this._activationAttributes = attributes;
107 }
108
109 // Token: 0x170003A9 RID: 937
110 // (get) Token: 0x06001DEC RID: 7660 RVA: 0x000415C4 File Offset: 0x0003F7C4
112 {
113 get
114 {
115 /*
116An exception occurred when decompiling this method (06001DEC)
117
118ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IList System.Runtime.Remoting.Messaging.ConstructionCall::get_ContextProperties()
119
120 ---> System.Exception: Basic block has to end with unconditional control flow.
121{
122 IL_0000:
123 brtrue(IL_0000, ldfld:IList[exp:bool](ConstructionCall::_contextProperties, ldloc:ConstructionCall(this)))
124}
125
126 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
127 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
128 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
129 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
130 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
131 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
132 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
133 --- End of inner exception stack trace ---
134 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
135 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
136*/;
137 }
138 }
139
140 // Token: 0x06001DED RID: 7661 RVA: 0x000415D8 File Offset: 0x0003F7D8
141 internal override void InitMethodProperty(string key, object value)
142 {
143 bool flag = key == "__Activator";
144 if (value == null)
145 {
146 return;
147 }
148 if (value != null)
149 {
151 return;
152 }
153 throw new InvalidCastException();
154 }
155
156 // Token: 0x06001DEE RID: 7662 RVA: 0x00041640 File Offset: 0x0003F840
158 {
159 if (this._contextProperties != null)
160 {
161 return;
162 }
166 }
167
168 // Token: 0x170003AA RID: 938
169 // (get) Token: 0x06001DEF RID: 7663 RVA: 0x00041670 File Offset: 0x0003F870
170 public override IDictionary Properties
171 {
172 get
173 {
174 while (this.ExternalProperties != null)
175 {
176 }
177 return this.ExternalProperties;
178 }
179 }
180
181 // Token: 0x170003AB RID: 939
182 // (get) Token: 0x06001DF0 RID: 7664 RVA: 0x0004168C File Offset: 0x0003F88C
183 // (set) Token: 0x06001DF1 RID: 7665 RVA: 0x000416A0 File Offset: 0x0003F8A0
185 {
186 get
187 {
188 return this._sourceProxy;
189 }
190 set
191 {
193 }
194 }
195
196 // Token: 0x04000F19 RID: 3865
198
199 // Token: 0x04000F1A RID: 3866
200 private object[] _activationAttributes;
201
202 // Token: 0x04000F1B RID: 3867
204
205 // Token: 0x04000F1C RID: 3868
207
208 // Token: 0x04000F1D RID: 3869
209 private string _activationTypeName;
210
211 // Token: 0x04000F1E RID: 3870
212 private bool _isContextOk;
213
214 // Token: 0x04000F1F RID: 3871
217 }
218}
class f__AnonymousType0<< Count > j__TPar
ConstructionCall(SerializationInfo info, StreamingContext context)
override void InitMethodProperty(string key, object value)
override void GetObjectData(SerializationInfo info, StreamingContext context)