Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetMessageField()

void System.IO.FileNotFoundException.SetMessageField ( )
inlineprivate

Definition at line 63 of file FileNotFoundException.cs.

64 {
65 if (_message == null)
66 {
67 if (FileName == null && base.HResult == -2146233088)
68 {
69 _message = SR.IO_FileNotFound;
70 }
71 else if (FileName != null)
72 {
73 _message = FileLoadException.FormatFileLoadExceptionMessage(FileName, base.HResult);
74 }
75 }
76 }

References System.Exception._message, System.Runtime.Serialization.Dictionary, System.IO.FileNotFoundException.FileName, System.IO.FileLoadException.FormatFileLoadExceptionMessage(), and System.SR.IO_FileNotFound.

Referenced by System.IO.FileNotFoundException.FileNotFoundException().