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
StackGuard.cs
Go to the documentation of this file.
1using System;
2
4{
5 // Token: 0x0200023C RID: 572
6 internal class StackGuard
7 {
8 // Token: 0x060013EF RID: 5103 RVA: 0x00029D7C File Offset: 0x00027F7C
9 internal bool TryBeginInliningScope()
10 {
11 /*
12An exception occurred when decompiling this method (060013EF)
13
14ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Threading.Tasks.StackGuard::TryBeginInliningScope()
15
16 ---> System.Exception: Basic block has to end with unconditional control flow.
17{
18 Block_0:
19 stloc:int32(var_0_06, ldfld:int32(StackGuard::m_inliningDepth, ldloc:StackGuard(this)))
20 stloc:bool(var_2_0E, call:bool(RuntimeHelpers::TryEnsureSufficientExecutionStack))
21 stloc:int32(var_3_15, ldfld:int32(StackGuard::m_inliningDepth, ldloc:StackGuard(this)))
22 stfld:int32(StackGuard::m_inliningDepth, ldloc:StackGuard(this), ldloc:int32(var_3_15))
23}
24
25 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
26 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
27 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
28 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
29 --- End of inner exception stack trace ---
30 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
31 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
32*/;
33 }
34
35 // Token: 0x060013F0 RID: 5104 RVA: 0x00029DAC File Offset: 0x00027FAC
41
42 // Token: 0x060013F1 RID: 5105 RVA: 0x00029DC8 File Offset: 0x00027FC8
43 public StackGuard()
44 {
45 }
46
47 // Token: 0x04000A9F RID: 2719
48 private int m_inliningDepth;
49 }
50}
class f__AnonymousType0<< Count > j__TPar