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
ValueListBuilder.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x0200042B RID: 1067
7 [Obsolete("Types with embedded references are not supported in this version of your compiler.", true)]
8 internal ref struct ValueListBuilder<T>
9 {
10 // Token: 0x06001CF5 RID: 7413 RVA: 0x0004EC14 File Offset: 0x0004CE14
15
16 // Token: 0x17000680 RID: 1664
17 // (get) Token: 0x06001CF6 RID: 7414 RVA: 0x00002050 File Offset: 0x00000250
18 public int Length
19 {
20 get
21 {
22 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
23 }
24 }
25
26 // Token: 0x17000681 RID: 1665
27 public T this[int index]
28 {
29 get
30 {
31 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
32 }
33 }
34
35 // Token: 0x06001CF8 RID: 7416 RVA: 0x0004EC28 File Offset: 0x0004CE28
36 public void Append(T item)
37 {
38 this.Grow();
39 }
40
41 // Token: 0x06001CF9 RID: 7417 RVA: 0x0004EC3C File Offset: 0x0004CE3C
43 {
44 /*
45An exception occurred when decompiling this method (06001CF9)
46
47ICSharpCode.Decompiler.DecompilerException: Error decompiling System.ReadOnlySpan`1<T> System.Collections.Generic.ValueListBuilder`1::AsSpan()
48
49 ---> System.Exception: Basic block has to end with unconditional control flow.
50{
51 Block_0:
52 call:void(ThrowHelper::ThrowArgumentOutOfRangeException)
53}
54
55 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
56 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
57 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
58 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
59 --- End of inner exception stack trace ---
60 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
61 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
62*/;
63 }
64
65 // Token: 0x06001CFA RID: 7418 RVA: 0x0004EC50 File Offset: 0x0004CE50
66 public void Dispose()
67 {
68 }
69
70 // Token: 0x06001CFB RID: 7419 RVA: 0x0004EC60 File Offset: 0x0004CE60
71 private void Grow()
72 {
73 if ((ref this) == null)
74 {
75 }
76 }
77
78 // Token: 0x06001CFC RID: 7420 RVA: 0x00002050 File Offset: 0x00000250
79 public T Pop()
80 {
81 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
82 }
83
84 // Token: 0x040013D4 RID: 5076
85 private Span<T> _span;
86
87 // Token: 0x040013D5 RID: 5077
88 private T[] _arrayFromPool;
89
90 // Token: 0x040013D6 RID: 5078
91 private int _pos;
92 }
93}
class f__AnonymousType0<< Count > j__TPar