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()

override string System.BadImageFormatException.ToString ( )
inline

Definition at line 94 of file BadImageFormatException.cs.

95 {
96 Type type = base.GetType();
97 string fileName = this._fileName;
98 if (fileName != null && fileName._stringLength != 0)
99 {
100 string newLine = Environment.NewLine;
101 string fileName2 = this._fileName;
102 string text = SR.Format("File name: '{0}'", fileName2);
103 string text3;
104 string text2 = text3 + newLine + text;
105 }
106 if (this._innerException != null)
107 {
108 }
109 if (this != null)
110 {
112 }
113 string text4;
114 if (this._fusionLog != null)
115 {
117 string text5;
118 text4 = text5 + newLine3;
120 string text6 = text4 + newLine4;
121 string fusionLog = this._fusionLog;
122 return text6 + fusionLog;
123 }
124 return text4;
125 }
class f__AnonymousType0<< Count > j__TPar
static string Format(string resourceFormat, params object[] args)
Definition SR.cs:33
Definition SR.cs:7
static string NewLine
Exception _innerException
Definition Exception.cs:418
new Type GetType()
Definition Type.cs:287

References System.BadImageFormatException._fileName, System.BadImageFormatException._fusionLog, System.Exception._innerException, SR.Format(), System.Type.GetType(), j__TPar, System.Environment.NewLine, and System.text.