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

◆ SetMessageField()

void System.TypeLoadException.SetMessageField ( )
inlineprivateinherited

Definition at line 39 of file TypeLoadException.cs.

40 {
41 if (this._message == null)
42 {
43 string className = this.ClassName;
44 if (className == null && this.ResourceId == 0)
45 {
46 this._message = "Failure has occurred while loading a type.";
47 return;
48 }
49 if (this.AssemblyName == null)
50 {
51 this.AssemblyName = "[Unknown]";
52 }
53 if (className == null)
54 {
55 this.ClassName = "[Unknown]";
56 }
57 if ("[Unknown]" == null)
58 {
59 }
61 string className2 = this.ClassName;
62 string assemblyName = this.AssemblyName;
63 string messageArg = this.MessageArg;
64 string text = string.Format(currentCulture, "Could not load type '{0}' from assembly '{1}'.", className2, assemblyName, messageArg);
66 }
67 }
class f__AnonymousType0<< Count > j__TPar
static CultureInfo CurrentCulture

References System.Exception._message, System.TypeLoadException.AssemblyName, System.TypeLoadException.ClassName, System.Globalization.CultureInfo.CurrentCulture, j__TPar, System.TypeLoadException.MessageArg, System.TypeLoadException.ResourceId, and System.text.

Referenced by System.TypeLoadException.TypeLoadException().