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

◆ ToString() [2/2]

string System.Exception.ToString ( bool needFileLineInfo,
bool needMessage )
inlineprivateinherited

Definition at line 221 of file Exception.cs.

222 {
223 if (this != null)
224 {
225 string className = this._className;
226 string className2 = this.GetClassName();
227 string text;
228 return text;
229 }
230 string className3 = this.GetClassName();
231 long num;
232 if (this._innerException != null)
233 {
234 if ((className3 == null || className3 != null) && (" ---> " == null || " ---> " != null))
235 {
237 string text2;
238 if (text2 == null || text2 != null)
239 {
240 string newLine = Environment.NewLine;
241 if ((newLine == null || newLine != null) && (" " == null || " " != null))
242 {
243 string resourceString = Environment.GetResourceString("--- End of inner exception stack trace ---");
244 if (resourceString == null || resourceString != null)
245 {
246 num = 0L;
247 goto IL_0083;
248 }
249 }
250 }
251 }
252 throw new ArrayTypeMismatchException();
253 }
254 IL_0083:
255 string stackTrace = this.GetStackTrace(num != 0L);
256 string text3;
257 if (stackTrace != null)
258 {
260 return text3 + newLine2 + stackTrace;
261 }
262 return text3;
263 }
class f__AnonymousType0<< Count > j__TPar
static string NewLine
static string GetResourceString(string key)
string GetStackTrace(bool needFileInfo)
Definition Exception.cs:179
Exception _innerException
Definition Exception.cs:418
string GetClassName()
Definition Exception.cs:134

References System.Exception._className, System.Exception._innerException, System.Exception.GetClassName(), System.Environment.GetResourceString(), System.Exception.GetStackTrace(), j__TPar, System.L, System.Environment.NewLine, and System.text.