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
Debug.cs
Go to the documentation of this file.
1using System;
5
6namespace UnityEngine
7{
8 // Token: 0x02000038 RID: 56
9 [NativeHeader("Runtime/Export/Debug/Debug.bindings.h")]
10 public class Debug
11 {
12 // Token: 0x1700000D RID: 13
13 // (get) Token: 0x06000062 RID: 98 RVA: 0x000027C0 File Offset: 0x000009C0
14 public static ILogger unityLogger
15 {
16 get
17 {
18 /*
19An exception occurred when decompiling this method (06000062)
20
21ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.ILogger UnityEngine.Debug::get_unityLogger()
22
23 ---> System.Exception: Basic block has to end with unconditional control flow.
24{
25 IL_0000:
26 brtrue(IL_0000, ldc.i4:bool(1))
27}
28
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 1852
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 1878
32 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
33 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
34 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
35 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
36 --- End of inner exception stack trace ---
37 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
38 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
39*/;
40 }
41 }
42
43 // Token: 0x06000063 RID: 99 RVA: 0x000027D0 File Offset: 0x000009D0
45 public unsafe static int ExtractStackTraceNoAlloc(byte* buffer, int bufferMax, string projectFolder)
46 {
47 throw new MissingMethodException();
48 }
49
50 // Token: 0x06000064 RID: 100 RVA: 0x000027E4 File Offset: 0x000009E4
51 public static void Log(object message)
52 {
53 if (!true)
54 {
55 }
56 if (!true)
57 {
58 }
59 }
60
61 // Token: 0x06000065 RID: 101 RVA: 0x000027F8 File Offset: 0x000009F8
62 public static void LogError(object message)
63 {
64 if (!true)
65 {
66 }
67 if (!true)
68 {
69 }
70 }
71
72 // Token: 0x06000066 RID: 102 RVA: 0x0000280C File Offset: 0x00000A0C
73 public static void LogError(object message, Object context)
74 {
75 if (!true)
76 {
77 }
78 if (!true)
79 {
80 }
81 }
82
83 // Token: 0x06000067 RID: 103 RVA: 0x00002820 File Offset: 0x00000A20
84 public static void LogErrorFormat(Object context, string format, params object[] args)
85 {
86 if (!true)
87 {
88 }
89 if (!true)
90 {
91 }
92 }
93
94 // Token: 0x06000068 RID: 104 RVA: 0x00002834 File Offset: 0x00000A34
95 public static void LogException(Exception exception)
96 {
97 if (!true)
98 {
99 }
100 if (!true)
101 {
102 }
103 }
104
105 // Token: 0x06000069 RID: 105 RVA: 0x00002848 File Offset: 0x00000A48
106 public static void LogException(Exception exception, Object context)
107 {
108 if (!true)
109 {
110 }
111 if (!true)
112 {
113 }
114 }
115
116 // Token: 0x0600006A RID: 106 RVA: 0x0000285C File Offset: 0x00000A5C
117 public static void LogWarning(object message)
118 {
119 if (!true)
120 {
121 }
122 if (!true)
123 {
124 }
125 }
126
127 // Token: 0x0600006B RID: 107 RVA: 0x00002870 File Offset: 0x00000A70
128 public static void LogWarning(object message, Object context)
129 {
130 if (!true)
131 {
132 }
133 if (!true)
134 {
135 }
136 }
137
138 // Token: 0x0600006C RID: 108 RVA: 0x00002884 File Offset: 0x00000A84
139 public static void LogWarningFormat(Object context, string format, params object[] args)
140 {
141 if (!true)
142 {
143 }
144 if (!true)
145 {
146 }
147 }
148
149 // Token: 0x0600006D RID: 109 RVA: 0x00002898 File Offset: 0x00000A98
150 [Conditional("UNITY_ASSERTIONS")]
151 public static void Assert(bool condition)
152 {
153 }
154
155 // Token: 0x0600006E RID: 110 RVA: 0x000028B0 File Offset: 0x00000AB0
158 {
159 if (!true)
160 {
161 }
162 if (!true)
163 {
164 }
165 return false;
166 }
167
168 // Token: 0x0600006F RID: 111 RVA: 0x000028DC File Offset: 0x00000ADC
170 internal static bool IsLoggingEnabled()
171 {
172 if (!true)
173 {
174 }
175 if (!true)
176 {
177 }
178 return false;
179 }
180
181 // Token: 0x06000070 RID: 112 RVA: 0x00002900 File Offset: 0x00000B00
182 // Note: this type is marked as 'beforefieldinit'.
183 static Debug()
184 {
185 }
186
187 // Token: 0x040000BD RID: 189
189
190 // Token: 0x040000BE RID: 190
191 internal static ILogger s_Logger;
192 }
193}
class f__AnonymousType0<< Count > j__TPar
static readonly ILogger s_DefaultLogger
Definition Debug.cs:188
static void Log(object message)
Definition Debug.cs:51
static void LogErrorFormat(Object context, string format, params object[] args)
Definition Debug.cs:84
static ILogger s_Logger
Definition Debug.cs:191
static void LogWarning(object message)
Definition Debug.cs:117
static bool CallOverridenDebugHandler(Exception exception, Object obj)
Definition Debug.cs:157
static void LogException(Exception exception, Object context)
Definition Debug.cs:106
static void LogWarning(object message, Object context)
Definition Debug.cs:128
static void LogWarningFormat(Object context, string format, params object[] args)
Definition Debug.cs:139
static Debug()
Definition Debug.cs:183
static bool IsLoggingEnabled()
Definition Debug.cs:170
static void Assert(bool condition)
Definition Debug.cs:151
static void LogException(Exception exception)
Definition Debug.cs:95
static ILogger unityLogger
Definition Debug.cs:15
static void LogError(object message)
Definition Debug.cs:62
static void LogError(object message, Object context)
Definition Debug.cs:73
static unsafe int ExtractStackTraceNoAlloc(byte *buffer, int bufferMax, string projectFolder)
Definition Debug.cs:45