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
Debugger.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Diagnostics
6{
7 // Token: 0x020005D2 RID: 1490
8 [ComVisible(true)]
9 public sealed class Debugger
10 {
11 // Token: 0x170006E7 RID: 1767
12 // (get) Token: 0x06002D55 RID: 11605 RVA: 0x000645B0 File Offset: 0x000627B0
13 public static bool IsAttached
14 {
15 get
16 {
17 /*
18An exception occurred when decompiling this method (06002D55)
19
20ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Diagnostics.Debugger::get_IsAttached()
21
22 ---> System.Exception: Basic block has to end with unconditional control flow.
23{
24 IL_0000:
25 brtrue(IL_0000, ldc.i4:bool(1))
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
30 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
31 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
32 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
33 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
34 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
35 --- End of inner exception stack trace ---
36 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
37 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
38*/;
39 }
40 }
41
42 // Token: 0x06002D56 RID: 11606 RVA: 0x0000207A File Offset: 0x0000027A
43 private static bool IsAttached_internal()
44 {
45 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
46 }
47
48 // Token: 0x06002D57 RID: 11607 RVA: 0x000645C0 File Offset: 0x000627C0
49 public static void Break()
50 {
51 }
52
53 // Token: 0x06002D58 RID: 11608 RVA: 0x0000207A File Offset: 0x0000027A
54 public static bool IsLogging()
55 {
56 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
57 }
58
59 // Token: 0x06002D59 RID: 11609 RVA: 0x000645D0 File Offset: 0x000627D0
60 private static void Log_icall(int level, string category, string message)
61 {
62 }
63
64 // Token: 0x06002D5A RID: 11610 RVA: 0x000645E0 File Offset: 0x000627E0
65 public static void Log(int level, string category, string message)
66 {
67 if (!true)
68 {
69 }
70 }
71
72 // Token: 0x06002D5B RID: 11611 RVA: 0x000645F0 File Offset: 0x000627F0
73 public static void NotifyOfCrossThreadDependency()
74 {
75 }
76
77 // Token: 0x06002D5C RID: 11612 RVA: 0x00064600 File Offset: 0x00062800
78 // Note: this type is marked as 'beforefieldinit'.
79 static Debugger()
80 {
81 }
82
83 // Token: 0x0400195F RID: 6495
84 public static readonly string DefaultCategory;
85 }
86}
class f__AnonymousType0<< Count > j__TPar
static readonly string DefaultCategory
Definition Debugger.cs:84
static bool IsLogging()
Definition Debugger.cs:54
static void Log(int level, string category, string message)
Definition Debugger.cs:65
static void NotifyOfCrossThreadDependency()
Definition Debugger.cs:73
static void Log_icall(int level, string category, string message)
Definition Debugger.cs:60
static bool IsAttached_internal()
Definition Debugger.cs:43