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

◆ RequestParticle()

T Terraria.Graphics.Renderers.ParticlePool< T >.RequestParticle ( )
inline

Definition at line 23 of file ParticlePool.cs.

24 {
25 /*
26An exception occurred when decompiling this method (06003DB2)
27
28ICSharpCode.Decompiler.DecompilerException: Error decompiling T Terraria.Graphics.Renderers.ParticlePool`1::RequestParticle()
29
30 ---> System.Exception: Basic block has to end with unconditional control flow.
31{
32 Block_0:
33 stloc:List`1(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<!T>[exp:List`1](ParticlePool`1::_particles, ldloc:ParticlePool`1(this)))
34 stloc:List`1(var_2_0F, ldfld:class [mscorlib]System.Collections.Generic.List`1<!T>[exp:List`1](ParticlePool`1::_particles, ldloc:ParticlePool`1(this)))
35 stloc:ParticleInstantiator(var_3_16, ldfld:class Terraria.Graphics.Renderers.ParticlePool`1/ParticleInstantiator<!T>[exp:ParticleInstantiator](ParticlePool`1::_instantiator, ldloc:ParticlePool`1(this)))
36 stloc:List`1(var_4_1D, ldfld:class [mscorlib]System.Collections.Generic.List`1<!T>[exp:List`1](ParticlePool`1::_particles, ldloc:ParticlePool`1(this)))
37}
38
39 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
40 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
41 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
42 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
43 --- End of inner exception stack trace ---
44 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
45 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
46*/;
47 }