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
ListDictionary.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000418 RID: 1048
9 {
10 // Token: 0x06001C28 RID: 7208 RVA: 0x0004D1AC File Offset: 0x0004B3AC
12 {
13 }
14
15 // Token: 0x06001C29 RID: 7209 RVA: 0x0004D1C0 File Offset: 0x0004B3C0
20
21 // Token: 0x17000641 RID: 1601
22 public object this[object key]
23 {
24 get
25 {
26 while (key == null)
27 {
28 }
32 if (comparer != null)
33 {
34 if (dictionaryNode == null)
35 {
36 goto IL_0047;
37 }
38 object key2 = dictionaryNode.key;
39 if (comparer == null)
40 {
41 goto IL_004A;
42 }
44 if (next == null)
45 {
46 goto IL_0047;
47 }
49 object key3 = next.key;
50 next2 = next.next;
51 }
52 while (next2 != null)
53 {
54 }
55 IL_0047:
56 IL_004A:
57 return next2.value;
58 }
59 set
60 {
61 while (key == null)
62 {
63 }
65 if (dictionaryNode == null)
66 {
67 int num = this.count;
68 this.count = num;
69 return;
70 }
72 object key2 = dictionaryNode.key;
73 if (comparer != null)
74 {
75 return;
76 }
77 }
78 }
79
80 // Token: 0x17000642 RID: 1602
81 // (get) Token: 0x06001C2C RID: 7212 RVA: 0x0004D288 File Offset: 0x0004B488
82 public int Count
83 {
84 get
85 {
86 return this.count;
87 }
88 }
89
90 // Token: 0x17000643 RID: 1603
91 // (get) Token: 0x06001C2D RID: 7213 RVA: 0x00002050 File Offset: 0x00000250
93 {
94 get
95 {
96 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
97 }
98 }
99
100 // Token: 0x17000644 RID: 1604
101 // (get) Token: 0x06001C2E RID: 7214 RVA: 0x0004D29C File Offset: 0x0004B49C
102 public bool IsReadOnly
103 {
104 get
105 {
106 }
107 }
108
109 // Token: 0x17000645 RID: 1605
110 // (get) Token: 0x06001C2F RID: 7215 RVA: 0x0004D2AC File Offset: 0x0004B4AC
111 public bool IsFixedSize
112 {
113 get
114 {
115 }
116 }
117
118 // Token: 0x17000646 RID: 1606
119 // (get) Token: 0x06001C30 RID: 7216 RVA: 0x0004D2BC File Offset: 0x0004B4BC
120 public bool IsSynchronized
121 {
122 get
123 {
124 }
125 }
126
127 // Token: 0x17000647 RID: 1607
128 // (get) Token: 0x06001C31 RID: 7217 RVA: 0x0004D2CC File Offset: 0x0004B4CC
129 public object SyncRoot
130 {
131 get
132 {
133 /*
134An exception occurred when decompiling this method (06001C31)
135
136ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Collections.Specialized.ListDictionary::get_SyncRoot()
137
138 ---> System.Exception: Basic block has to end with unconditional control flow.
139{
140 IL_0000:
141 brtrue(IL_0000, ldfld:object[exp:bool](ListDictionary::_syncRoot, ldloc:ListDictionary(this)))
142}
143
144 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
145 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
146 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
147 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
148 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
149 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
150 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
151 --- End of inner exception stack trace ---
152 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
153 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
154*/;
155 }
156 }
157
158 // Token: 0x17000648 RID: 1608
159 // (get) Token: 0x06001C32 RID: 7218 RVA: 0x00002050 File Offset: 0x00000250
161 {
162 get
163 {
164 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
165 }
166 }
167
168 // Token: 0x06001C33 RID: 7219 RVA: 0x0004D2E0 File Offset: 0x0004B4E0
169 public void Add(object key, object value)
170 {
171 while (key == null)
172 {
173 }
175 if (dictionaryNode == null)
176 {
177 int num = this.count;
178 this.count = num;
179 return;
180 }
182 object key2 = dictionaryNode.key;
183 if (comparer != null)
184 {
185 return;
186 }
187 }
188
189 // Token: 0x06001C34 RID: 7220 RVA: 0x0004D338 File Offset: 0x0004B538
190 public void Clear()
191 {
192 int num = this.version;
193 this.version = num;
194 }
195
196 // Token: 0x06001C35 RID: 7221 RVA: 0x0004D354 File Offset: 0x0004B554
197 public bool Contains(object key)
198 {
199 for (;;)
200 {
201 if (key != null)
202 {
204 if (dictionaryNode == null)
205 {
206 return;
207 }
209 object key2 = dictionaryNode.key;
210 if (comparer != null)
211 {
212 }
213 if (comparer == null)
214 {
215 return;
216 }
217 if (dictionaryNode.next == null)
218 {
219 return;
220 }
221 }
222 }
223 }
224
225 // Token: 0x06001C36 RID: 7222 RVA: 0x0004D390 File Offset: 0x0004B590
226 public void CopyTo(Array array, int index)
227 {
228 while (array != null)
229 {
230 int length = array.Length;
231 int num = this.count;
233 if (dictionaryNode != null)
234 {
235 object key = dictionaryNode.key;
236 object value = dictionaryNode.value;
237 if (dictionaryNode.next != null)
238 {
239 continue;
240 }
241 }
242 return;
243 }
244 }
245
246 // Token: 0x06001C37 RID: 7223 RVA: 0x0004D3D0 File Offset: 0x0004B5D0
248 {
249 /*
250An exception occurred when decompiling this method (06001C37)
251
252ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IDictionaryEnumerator System.Collections.Specialized.ListDictionary::GetEnumerator()
253
254 ---> System.Exception: Basic block has to end with unconditional control flow.
255{
256 Block_0:
257 stloc:int32(var_0_06, ldfld:int32(ListDictionary::version, ldloc:ListDictionary(this)))
258}
259
260 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
261 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
262 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
263 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
264 --- End of inner exception stack trace ---
265 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
266 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
267*/;
268 }
269
270 // Token: 0x06001C38 RID: 7224 RVA: 0x0004D3E4 File Offset: 0x0004B5E4
272 {
273 /*
274An exception occurred when decompiling this method (06001C38)
275
276ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator System.Collections.Specialized.ListDictionary::System.Collections.IEnumerable.GetEnumerator()
277
278 ---> System.Exception: Basic block has to end with unconditional control flow.
279{
280 Block_0:
281 stloc:int32(var_0_06, ldfld:int32(ListDictionary::version, ldloc:ListDictionary(this)))
282}
283
284 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
285 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
286 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
287 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
288 --- End of inner exception stack trace ---
289 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
290 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
291*/;
292 }
293
294 // Token: 0x06001C39 RID: 7225 RVA: 0x0004D3F8 File Offset: 0x0004B5F8
295 public void Remove(object key)
296 {
297 while (key == null)
298 {
299 }
301 if (dictionaryNode == null)
302 {
303 return;
304 }
306 object key2 = dictionaryNode.key;
307 if (comparer != null)
308 {
309 return;
310 }
311 }
312
313 // Token: 0x04001396 RID: 5014
315
316 // Token: 0x04001397 RID: 5015
317 private int version;
318
319 // Token: 0x04001398 RID: 5016
320 private int count;
321
322 // Token: 0x04001399 RID: 5017
324
325 // Token: 0x0400139A RID: 5018
327 private object _syncRoot;
328
329 // Token: 0x02000419 RID: 1049
331 {
332 // Token: 0x06001C3A RID: 7226 RVA: 0x0004D450 File Offset: 0x0004B650
334 {
336 int version = list.version;
337 this._start = true;
339 }
340
341 // Token: 0x17000649 RID: 1609
342 // (get) Token: 0x06001C3B RID: 7227 RVA: 0x0004D480 File Offset: 0x0004B680
343 public object Current
344 {
345 get
346 {
347 /*
348An exception occurred when decompiling this method (06001C3B)
349
350ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Collections.Specialized.ListDictionary/NodeEnumerator::get_Current()
351
352 ---> System.Exception: Basic block has to end with unconditional control flow.
353{
354 Block_0:
355 stloc:DictionaryEntry(var_0_06, callgetter:DictionaryEntry(NodeEnumerator::get_Entry, ldloc:NodeEnumerator(this)))
356}
357
358 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
359 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
360 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
361 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
362 --- End of inner exception stack trace ---
363 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
364 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
365*/;
366 }
367 }
368
369 // Token: 0x1700064A RID: 1610
370 // (get) Token: 0x06001C3C RID: 7228 RVA: 0x0004D494 File Offset: 0x0004B694
372 {
373 get
374 {
375 /*
376An exception occurred when decompiling this method (06001C3C)
377
378ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.DictionaryEntry System.Collections.Specialized.ListDictionary/NodeEnumerator::get_Entry()
379
380 ---> System.Exception: Basic block has to end with unconditional control flow.
381{
382 Block_0:
383 stloc:object(var_1_10, ldfld:object(DictionaryNode::key, ldloc:DictionaryNode(var_0_06)))
384 stloc:object(var_2_17, ldfld:object(DictionaryNode::value, ldloc:DictionaryNode(var_0_06)))
385}
386
387 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
388 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
389 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
390 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
391 --- End of inner exception stack trace ---
392 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
393 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
394*/;
395 }
396 }
397
398 // Token: 0x1700064B RID: 1611
399 // (get) Token: 0x06001C3D RID: 7229 RVA: 0x0004D4B8 File Offset: 0x0004B6B8
400 public object Key
401 {
402 get
403 {
405 do
406 {
407 current = this._current;
408 }
409 while (current == null);
410 return current.key;
411 }
412 }
413
414 // Token: 0x1700064C RID: 1612
415 // (get) Token: 0x06001C3E RID: 7230 RVA: 0x0004D4D8 File Offset: 0x0004B6D8
416 public object Value
417 {
418 get
419 {
421 do
422 {
423 current = this._current;
424 }
425 while (current == null);
426 return current.value;
427 }
428 }
429
430 // Token: 0x06001C3F RID: 7231 RVA: 0x0004D4F8 File Offset: 0x0004B6F8
431 public bool MoveNext()
432 {
433 /*
434An exception occurred when decompiling this method (06001C3F)
435
436ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Collections.Specialized.ListDictionary/NodeEnumerator::MoveNext()
437
438 ---> System.Exception: Basic block has to end with unconditional control flow.
439{
440 Block_1:
441 stloc:DictionaryNode(var_5_37, ldfld:DictionaryNode(DictionaryNode::next, ldloc:DictionaryNode(var_4_2A)))
442 stfld:DictionaryNode(NodeEnumerator::_current, ldloc:NodeEnumerator(this), ldloc:DictionaryNode(var_5_37))
443}
444
445 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
446 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
447 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
448 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
449 --- End of inner exception stack trace ---
450 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
451 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
452*/;
453 }
454
455 // Token: 0x06001C40 RID: 7232 RVA: 0x0004D548 File Offset: 0x0004B748
456 public void Reset()
457 {
459 int version = this._version;
460 int version2 = list.version;
461 this._start = true;
462 }
463
464 // Token: 0x0400139B RID: 5019
466
467 // Token: 0x0400139C RID: 5020
469
470 // Token: 0x0400139D RID: 5021
471 private int _version;
472
473 // Token: 0x0400139E RID: 5022
474 private bool _start;
475 }
476
477 // Token: 0x0200041A RID: 1050
479 {
480 // Token: 0x06001C41 RID: 7233 RVA: 0x0004D574 File Offset: 0x0004B774
482 {
484 }
485
486 // Token: 0x06001C42 RID: 7234 RVA: 0x0004D590 File Offset: 0x0004B790
488 {
489 for (;;)
490 {
491 if (array != null)
492 {
494 if (head == null)
495 {
496 break;
497 }
498 bool isKeys = this._isKeys;
499 array.SetValue(array, index);
500 if (head.next == null)
501 {
502 break;
503 }
504 }
505 }
506 }
507
508 // Token: 0x1700064D RID: 1613
509 // (get) Token: 0x06001C43 RID: 7235 RVA: 0x0004D5C8 File Offset: 0x0004B7C8
511 {
512 get
513 {
514 for (;;)
515 {
517 if (head == null || head.next == null)
518 {
519 return;
520 }
521 }
522 }
523 }
524
525 // Token: 0x1700064E RID: 1614
526 // (get) Token: 0x06001C44 RID: 7236 RVA: 0x0004D5F0 File Offset: 0x0004B7F0
528 {
529 get
530 {
531 }
532 }
533
534 // Token: 0x1700064F RID: 1615
535 // (get) Token: 0x06001C45 RID: 7237 RVA: 0x0004D600 File Offset: 0x0004B800
537 {
538 get
539 {
540 return this._list.SyncRoot;
541 }
542 }
543
544 // Token: 0x06001C46 RID: 7238 RVA: 0x0004D618 File Offset: 0x0004B818
546 {
547 /*
548An exception occurred when decompiling this method (06001C46)
549
550ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator System.Collections.Specialized.ListDictionary/NodeKeyValueCollection::System.Collections.IEnumerable.GetEnumerator()
551
552 ---> System.Exception: Basic block has to end with unconditional control flow.
553{
554 Block_0:
555 stloc:ListDictionary(var_0_06, ldfld:ListDictionary(NodeKeyValueCollection::_list, ldloc:NodeKeyValueCollection(this)))
556 stloc:bool(var_1_0D, ldfld:bool(NodeKeyValueCollection::_isKeys, ldloc:NodeKeyValueCollection(this)))
557 stloc:int32(var_2_14, ldfld:int32(ListDictionary::version, ldloc:ListDictionary(var_0_06)))
558}
559
560 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
561 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
562 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
563 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
564 --- End of inner exception stack trace ---
565 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
566 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
567*/;
568 }
569
570 // Token: 0x0400139F RID: 5023
572
573 // Token: 0x040013A0 RID: 5024
574 private bool _isKeys;
575
576 // Token: 0x0200041B RID: 1051
578 {
579 // Token: 0x06001C47 RID: 7239 RVA: 0x0000205C File Offset: 0x0000025C
581 {
582 }
583
584 // Token: 0x17000650 RID: 1616
585 // (get) Token: 0x06001C48 RID: 7240 RVA: 0x0000205E File Offset: 0x0000025E
586 public object Current
587 {
588 get
589 {
590 return null;
591 }
592 }
593
594 // Token: 0x06001C49 RID: 7241 RVA: 0x0004D63C File Offset: 0x0004B83C
595 public bool MoveNext()
596 {
597 return default(bool);
598 }
599
600 // Token: 0x06001C4A RID: 7242 RVA: 0x0000205C File Offset: 0x0000025C
601 public void Reset()
602 {
603 }
604
605 // Token: 0x040013A1 RID: 5025
607
608 // Token: 0x040013A2 RID: 5026
610
611 // Token: 0x040013A3 RID: 5027
612 private int _version;
613
614 // Token: 0x040013A4 RID: 5028
615 private bool _isKeys;
616
617 // Token: 0x040013A5 RID: 5029
618 private bool _start;
619 }
620 }
621
622 // Token: 0x0200041C RID: 1052
623 [Serializable]
624 public class DictionaryNode
625 {
626 // Token: 0x06001C4B RID: 7243 RVA: 0x0004D654 File Offset: 0x0004B854
628 {
629 }
630
631 // Token: 0x040013A6 RID: 5030
632 public object key;
633
634 // Token: 0x040013A7 RID: 5031
635 public object value;
636
637 // Token: 0x040013A8 RID: 5032
639 }
640 }
641}
class f__AnonymousType0<< Count > j__TPar
void SetValue(object value, long index)
Definition Array.cs:513
void CopyTo(Array array, int index)