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
SerializationInfo.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020003ED RID: 1005
8 [ComVisible(true)]
9 public sealed class SerializationInfo
10 {
11 // Token: 0x06001FA3 RID: 8099 RVA: 0x0004573C File Offset: 0x0004393C
12 [CLSCompliant(false)]
16
17 // Token: 0x06001FA4 RID: 8100 RVA: 0x0004574C File Offset: 0x0004394C
18 [CLSCompliant(false)]
20 {
21 do
22 {
23 base..ctor();
24 if (type == null)
25 {
26 return;
27 }
28 }
29 while (converter == null);
30 this.objectType = type;
32 this.m_assemName = type;
35 }
36
37 // Token: 0x1700043E RID: 1086
38 // (get) Token: 0x06001FA5 RID: 8101 RVA: 0x0004578C File Offset: 0x0004398C
39 public string FullTypeName
40 {
41 get
42 {
43 return this.m_fullTypeName;
44 }
45 }
46
47 // Token: 0x1700043F RID: 1087
48 // (get) Token: 0x06001FA6 RID: 8102 RVA: 0x000457A0 File Offset: 0x000439A0
49 public string AssemblyName
50 {
51 get
52 {
53 return this.m_assemName;
54 }
55 }
56
57 // Token: 0x06001FA7 RID: 8103 RVA: 0x000457B4 File Offset: 0x000439B4
58 public void SetType(Type type)
59 {
60 while (type == null)
61 {
62 }
64 {
65 Type type2 = this.objectType;
66 }
67 Type type3 = this.objectType;
68 this.objectType = type;
70 this.m_assemName = type;
71 }
72
73 // Token: 0x06001FA8 RID: 8104 RVA: 0x000457F0 File Offset: 0x000439F0
74 private static bool Compare(byte[] a, byte[] b)
75 {
76 for (;;)
77 {
78 long num = 0L;
79 if (a != null && num != 0L)
80 {
81 return;
82 }
83 }
84 }
85
86 // Token: 0x06001FA9 RID: 8105 RVA: 0x00045808 File Offset: 0x00043A08
91
92 // Token: 0x06001FAA RID: 8106 RVA: 0x00045820 File Offset: 0x00043A20
94 {
95 bool flag = "mscorlib" == originalAssemblyName;
96 return true;
97 }
98
99 // Token: 0x17000440 RID: 1088
100 // (get) Token: 0x06001FAB RID: 8107 RVA: 0x00045848 File Offset: 0x00043A48
101 public int MemberCount
102 {
103 get
104 {
105 return this.m_currMember;
106 }
107 }
108
109 // Token: 0x17000441 RID: 1089
110 // (get) Token: 0x06001FAC RID: 8108 RVA: 0x0004585C File Offset: 0x00043A5C
112 {
113 get
114 {
115 return this.objectType;
116 }
117 }
118
119 // Token: 0x17000442 RID: 1090
120 // (get) Token: 0x06001FAD RID: 8109 RVA: 0x00045870 File Offset: 0x00043A70
122 {
123 get
124 {
125 return this.isFullTypeNameSetExplicit;
126 }
127 }
128
129 // Token: 0x17000443 RID: 1091
130 // (get) Token: 0x06001FAE RID: 8110 RVA: 0x00045884 File Offset: 0x00043A84
132 {
133 get
134 {
135 return this.isAssemblyNameSetExplicit;
136 }
137 }
138
139 // Token: 0x06001FAF RID: 8111 RVA: 0x00045898 File Offset: 0x00043A98
141 {
142 /*
143An exception occurred when decompiling this method (06001FAF)
144
145ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Runtime.Serialization.SerializationInfoEnumerator System.Runtime.Serialization.SerializationInfo::GetEnumerator()
146
147 ---> System.Exception: Basic block has to end with unconditional control flow.
148{
149 Block_0:
150 stloc:string[](var_0_06, ldfld:string[](SerializationInfo::m_members, ldloc:SerializationInfo(this)))
151 stloc:class System.Type[](var_1_0D, ldfld:class System.Type[](SerializationInfo::m_types, ldloc:SerializationInfo(this)))
152 stloc:int32(var_2_14, ldfld:int32(SerializationInfo::m_currMember, ldloc:SerializationInfo(this)))
153}
154
155 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
156 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
157 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
158 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
159 --- End of inner exception stack trace ---
160 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
161 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
162*/;
163 }
164
165 // Token: 0x06001FB0 RID: 8112 RVA: 0x000458BC File Offset: 0x00043ABC
166 private void ExpandArrays()
167 {
168 int currMember = this.m_currMember;
169 string[] members = this.m_members;
170 int currMember2 = this.m_currMember;
171 object[] data = this.m_data;
172 int currMember3 = this.m_currMember;
173 Type[] types = this.m_types;
174 int currMember4 = this.m_currMember;
175 }
176
177 // Token: 0x06001FB1 RID: 8113 RVA: 0x00045900 File Offset: 0x00043B00
178 public void AddValue(string name, object value, Type type)
179 {
180 while (name != null)
181 {
182 if (type != null)
183 {
184 this.AddValueInternal(name, value, type);
185 return;
186 }
187 }
188 }
189
190 // Token: 0x06001FB2 RID: 8114 RVA: 0x00045920 File Offset: 0x00043B20
191 public void AddValue(string name, object value)
192 {
193 if (value != null)
194 {
195 Type type = value.GetType();
196 return;
197 }
198 long num = 0L;
199 Type type2;
200 this.AddValue(name, num, type2);
201 }
202
203 // Token: 0x06001FB3 RID: 8115 RVA: 0x00045944 File Offset: 0x00043B44
204 public void AddValue(string name, bool value)
205 {
206 }
207
208 // Token: 0x06001FB4 RID: 8116 RVA: 0x00045954 File Offset: 0x00043B54
209 public void AddValue(string name, byte value)
210 {
211 }
212
213 // Token: 0x06001FB5 RID: 8117 RVA: 0x00045964 File Offset: 0x00043B64
214 public void AddValue(string name, short value)
215 {
216 }
217
218 // Token: 0x06001FB6 RID: 8118 RVA: 0x00045974 File Offset: 0x00043B74
219 public void AddValue(string name, int value)
220 {
221 }
222
223 // Token: 0x06001FB7 RID: 8119 RVA: 0x00045984 File Offset: 0x00043B84
224 public void AddValue(string name, long value)
225 {
226 }
227
228 // Token: 0x06001FB8 RID: 8120 RVA: 0x00045994 File Offset: 0x00043B94
229 [CLSCompliant(false)]
230 public void AddValue(string name, ulong value)
231 {
232 }
233
234 // Token: 0x06001FB9 RID: 8121 RVA: 0x000459A4 File Offset: 0x00043BA4
235 public void AddValue(string name, float value)
236 {
237 }
238
239 // Token: 0x06001FBA RID: 8122 RVA: 0x000459B4 File Offset: 0x00043BB4
240 public void AddValue(string name, DateTime value)
241 {
242 }
243
244 // Token: 0x06001FBB RID: 8123 RVA: 0x000459C4 File Offset: 0x00043BC4
245 internal void AddValueInternal(string name, object value, Type type)
246 {
249 int currMember = this.m_currMember;
250 string[] members = this.m_members;
251 int currMember2 = this.m_currMember;
252 this.ExpandArrays();
253 string[] members2 = this.m_members;
254 int currMember3 = this.m_currMember;
255 if (name != null)
256 {
257 if (name == null)
258 {
259 goto IL_007D;
260 }
261 int currMember4 = this.m_currMember;
262 }
263 object[] data = this.m_data;
264 if (value != null)
265 {
266 if (value == null)
267 {
268 goto IL_007D;
269 }
270 int currMember5 = this.m_currMember;
271 }
272 Type[] types = this.m_types;
273 int currMember6;
274 if (type != null)
275 {
276 if (type == null)
277 {
278 goto IL_007D;
279 }
281 }
283 return;
284 IL_007D:
285 throw new ArrayTypeMismatchException();
286 }
287
288 // Token: 0x06001FBC RID: 8124 RVA: 0x00045A60 File Offset: 0x00043C60
289 internal void UpdateValue(string name, object value, Type type)
290 {
291 int num = this.FindElement(name);
292 object[] data = this.m_data;
293 if (value == null || value != null)
294 {
295 Type[] types = this.m_types;
296 if (type == null || type != null)
297 {
298 return;
299 }
300 }
301 throw new ArrayTypeMismatchException();
302 }
303
304 // Token: 0x06001FBD RID: 8125 RVA: 0x00045A98 File Offset: 0x00043C98
305 private int FindElement(string name)
306 {
307 /*
308An exception occurred when decompiling this method (06001FBD)
309
310ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Runtime.Serialization.SerializationInfo::FindElement(System.String)
311
312 ---> System.Exception: Basic block has to end with unconditional control flow.
313{
314 Block_0:
315 stloc:class System.Collections.Generic.Dictionary`2<string, int32>(var_0_09, ldfld:class System.Collections.Generic.Dictionary`2<string, int32>(SerializationInfo::m_nameToIndex, ldloc:SerializationInfo(this)))
316}
317
318 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
319 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
320 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
321 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
322 --- End of inner exception stack trace ---
323 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
324 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
325*/;
326 }
327
328 // Token: 0x06001FBE RID: 8126 RVA: 0x00045AB0 File Offset: 0x00043CB0
329 private object GetElement(string name, [Out] Type foundType)
330 {
331 int num = this.FindElement(name);
332 Type[] types = this.m_types;
333 object[] data = this.m_data;
334 throw new ArrayTypeMismatchException();
335 }
336
337 // Token: 0x06001FBF RID: 8127 RVA: 0x00045ADC File Offset: 0x00043CDC
338 [ComVisible(true)]
339 private object GetElementNoThrow(string name, [Out] Type foundType)
340 {
341 /*
342An exception occurred when decompiling this method (06001FBF)
343
344ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Runtime.Serialization.SerializationInfo::GetElementNoThrow(System.String,System.Type)
345
346 ---> System.Exception: Basic block has to end with unconditional control flow.
347{
348 Block_0:
349 stloc:int32(var_0_07, call:int32(SerializationInfo::FindElement, ldloc:SerializationInfo(this), ldloc:string(name)))
350 stloc:class System.Type[](var_1_0E, ldfld:class System.Type[](SerializationInfo::m_types, ldloc:SerializationInfo(this)))
351 stloc:object[](var_2_15, ldfld:object[](SerializationInfo::m_data, ldloc:SerializationInfo(this)))
352}
353
354 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
355 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
356 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
357 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
358 --- End of inner exception stack trace ---
359 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
360 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
361*/;
362 }
363
364 // Token: 0x06001FC0 RID: 8128 RVA: 0x00045B00 File Offset: 0x00043D00
365 public object GetValue(string name, Type type)
366 {
367 /*
368An exception occurred when decompiling this method (06001FC0)
369
370ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Runtime.Serialization.SerializationInfo::GetValue(System.String,System.Type)
371
372 ---> System.Exception: Basic block has to end with unconditional control flow.
373{
374 IL_0015:
375 stloc:string(var_5_1F, call:string(Environment::GetResourceString, ldstr:string("Type must be a runtime Type object.")))
376}
377
378 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
379 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
380 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
381 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
382 --- End of inner exception stack trace ---
383 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
384 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
385*/;
386 }
387
388 // Token: 0x06001FC1 RID: 8129 RVA: 0x00045B30 File Offset: 0x00043D30
389 [ComVisible(true)]
390 internal object GetValueNoThrow(string name, Type type)
391 {
392 /*
393An exception occurred when decompiling this method (06001FC1)
394
395ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Runtime.Serialization.SerializationInfo::GetValueNoThrow(System.String,System.Type)
396
397 ---> System.Exception: Basic block has to end with unconditional control flow.
398{
399 Block_0:
400 stloc:class System.Type[](var_2_18, ldfld:class System.Type[](SerializationInfo::m_types, ldloc:SerializationInfo(this)))
401 stloc:IFormatterConverter(var_3_1F, ldfld:IFormatterConverter(SerializationInfo::m_converter, ldloc:SerializationInfo(this)))
402 stloc:int64(var_4_26, ldfld:int64(int64::m_value, ldc.i4:int32[exp:int64&](0)))
403}
404
405 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
406 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
407 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
408 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
409 --- End of inner exception stack trace ---
410 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
411 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
412*/;
413 }
414
415 // Token: 0x06001FC2 RID: 8130 RVA: 0x00045B64 File Offset: 0x00043D64
416 public bool GetBoolean(string name)
417 {
419 throw new InvalidCastException();
420 }
421
422 // Token: 0x06001FC3 RID: 8131 RVA: 0x00045B80 File Offset: 0x00043D80
423 public int GetInt32(string name)
424 {
426 throw new InvalidCastException();
427 }
428
429 // Token: 0x06001FC4 RID: 8132 RVA: 0x00045B9C File Offset: 0x00043D9C
430 public long GetInt64(string name)
431 {
433 throw new InvalidCastException();
434 }
435
436 // Token: 0x06001FC5 RID: 8133 RVA: 0x00045BB8 File Offset: 0x00043DB8
437 public float GetSingle(string name)
438 {
440 throw new InvalidCastException();
441 }
442
443 // Token: 0x06001FC6 RID: 8134 RVA: 0x00045BD4 File Offset: 0x00043DD4
444 public string GetString(string name)
445 {
446 object obj;
447 do
448 {
449 if (obj != null)
450 {
452 }
453 }
454 while (obj == null);
455 throw new InvalidCastException();
456 }
457
458 // Token: 0x04000FCB RID: 4043
459 private const int defaultSize = 4;
460
461 // Token: 0x04000FCC RID: 4044
462 private const string s_mscorlibAssemblySimpleName = "mscorlib";
463
464 // Token: 0x04000FCD RID: 4045
465 private const string s_mscorlibFileName = "mscorlib.dll";
466
467 // Token: 0x04000FCE RID: 4046
468 internal string[] m_members;
469
470 // Token: 0x04000FCF RID: 4047
471 internal object[] m_data;
472
473 // Token: 0x04000FD0 RID: 4048
474 internal Type[] m_types;
475
476 // Token: 0x04000FD1 RID: 4049
478
479 // Token: 0x04000FD2 RID: 4050
480 internal int m_currMember;
481
482 // Token: 0x04000FD3 RID: 4051
484
485 // Token: 0x04000FD4 RID: 4052
486 private string m_fullTypeName;
487
488 // Token: 0x04000FD5 RID: 4053
489 private string m_assemName;
490
491 // Token: 0x04000FD6 RID: 4054
493
494 // Token: 0x04000FD7 RID: 4055
496
497 // Token: 0x04000FD8 RID: 4056
499
500 // Token: 0x04000FD9 RID: 4057
502 }
503}
class f__AnonymousType0<< Count > j__TPar
void AddValue(string name, object value, Type type)
SerializationInfo(Type type, IFormatterConverter converter, bool requireSameTokenInPartialTrust)
void UpdateValue(string name, object value, Type type)
SerializationInfo(Type type, IFormatterConverter converter)
void AddValueInternal(string name, object value, Type type)
object GetElement(string name, [Out] Type foundType)
void AddValue(string name, DateTime value)
static bool IsAssemblyNameAssignmentSafe(string originalAssemblyName, string newAssemblyName)
static void DemandForUnsafeAssemblyNameAssignments(string originalAssemblyName, string newAssemblyName)
object GetElementNoThrow(string name, [Out] Type foundType)
new Type GetType()
Definition Type.cs:287