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
Buffer.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Linq
5{
6 // Token: 0x0200002B RID: 43
7 internal struct Buffer<TElement>
8 {
9 // Token: 0x0600012B RID: 299 RVA: 0x00003DE8 File Offset: 0x00001FE8
11 {
12 }
13
14 // Token: 0x0600012C RID: 300 RVA: 0x00003E4C File Offset: 0x0000204C
15 internal TElement[] ToArray()
16 {
17 /*
18An exception occurred when decompiling this method (0600012C)
19
20ICSharpCode.Decompiler.DecompilerException: Error decompiling TElement[] System.Linq.Buffer`1::ToArray()
21
22 ---> System.Exception: Basic block has to end with unconditional control flow.
23{
24 Block_0:
25 stloc:int32(var_0_0E, ldfld:int32(Buffer`1::count, ldloc:valuetype System.Linq.Buffer`1&(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 // Token: 0x040000A2 RID: 162
39 internal TElement[] items;
40
41 // Token: 0x040000A3 RID: 163
42 internal int count;
43 }
44}
TElement[] items
Definition Buffer.cs:39
TElement[] ToArray()
Definition Buffer.cs:15
Buffer(IEnumerable< TElement > source)
Definition Buffer.cs:10