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
DefaultTraceListener.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Diagnostics
5{
6 // Token: 0x020000DF RID: 223
8 {
9 // Token: 0x06000522 RID: 1314 RVA: 0x00014C1C File Offset: 0x00012E1C
11 {
12 if (!true)
13 {
14 }
15 string environmentVariable = Environment.GetEnvironmentVariable("MONO_TRACE_LISTENER");
16 }
17
18 // Token: 0x06000523 RID: 1315 RVA: 0x00014C38 File Offset: 0x00012E38
19 private static string GetPrefix(string var, string target)
20 {
21 int stringLength = var._stringLength;
22 string text;
23 return text;
24 }
25
26 // Token: 0x06000524 RID: 1316 RVA: 0x00014C54 File Offset: 0x00012E54
28 {
30 this.needIndent = true;
31 base..ctor();
32 this.listenerName = "Default";
33 }
34
35 // Token: 0x170000FD RID: 253
36 // (get) Token: 0x06000525 RID: 1317 RVA: 0x00014C80 File Offset: 0x00012E80
37 [MonoTODO]
38 public string LogFileName
39 {
40 get
41 {
42 return this.logFileName;
43 }
44 }
45
46 // Token: 0x06000526 RID: 1318 RVA: 0x00014C94 File Offset: 0x00012E94
47 private unsafe static void WriteWindowsDebugString(char* message)
48 {
49 }
50
51 // Token: 0x06000527 RID: 1319 RVA: 0x00014CA4 File Offset: 0x00012EA4
52 private void WriteDebugString(string message)
53 {
54 if (message != null)
55 {
57 }
58 }
59
60 // Token: 0x06000528 RID: 1320 RVA: 0x00014CC4 File Offset: 0x00012EC4
61 private void WriteMonoTrace(string message)
62 {
63 if (!true)
64 {
65 }
66 if (!true)
67 {
68 }
69 if (!true)
70 {
71 }
72 }
73
74 // Token: 0x06000529 RID: 1321 RVA: 0x00014CE8 File Offset: 0x00012EE8
75 private void WritePrefix()
76 {
77 if (!true)
78 {
79 }
80 if (true)
81 {
82 return;
83 }
84 if (!true)
85 {
86 }
87 }
88
89 // Token: 0x0600052A RID: 1322 RVA: 0x00014D00 File Offset: 0x00012F00
90 private void WriteImpl(string message)
91 {
92 if (this.needIndent)
93 {
94 this.WritePrefix();
95 }
96 bool flag = Debugger.IsLogging();
97 }
98
99 // Token: 0x0600052B RID: 1323 RVA: 0x00014D3C File Offset: 0x00012F3C
100 private void WriteLogFile(string message, string logFile)
101 {
102 if (logFile != null && logFile._stringLength != 0)
103 {
104 return;
105 }
106 }
107
108 // Token: 0x0600052C RID: 1324 RVA: 0x00014D90 File Offset: 0x00012F90
109 public override void Write(string message)
110 {
111 this.WriteImpl(message);
112 }
113
114 // Token: 0x0600052D RID: 1325 RVA: 0x00014DA4 File Offset: 0x00012FA4
115 public override void WriteLine(string message)
116 {
117 string newLine = Environment.NewLine;
118 string text = message + newLine;
119 this.WriteImpl(text);
120 this.needIndent = true;
121 }
122
123 // Token: 0x04000418 RID: 1048
124 private static readonly bool OnWin32;
125
126 // Token: 0x04000419 RID: 1049
127 private static readonly string MonoTracePrefix;
128
129 // Token: 0x0400041A RID: 1050
130 private static readonly string MonoTraceFile;
131
132 // Token: 0x0400041B RID: 1051
133 private string logFileName;
134 }
135}
class f__AnonymousType0<< Count > j__TPar
static bool IsLogging()
Definition Debugger.cs:54
static unsafe void WriteWindowsDebugString(char *message)
static string GetPrefix(string var, string target)
void WriteLogFile(string message, string logFile)
static string NewLine
static string GetEnvironmentVariable(string variable)