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

◆ FormatUserMessage()

static string System.Xml.XmlException.FormatUserMessage ( string message,
int lineNumber,
int linePosition )
inlinestaticprivate

Definition at line 193 of file XmlException.cs.

194 {
195 if (message == null)
196 {
197 return CreateMessage(System.SR.Xml_DefaultException, null, lineNumber, linePosition);
198 }
199 if (lineNumber == 0 && linePosition == 0)
200 {
201 return message;
202 }
203 return CreateMessage(System.SR.Xml_UserException, new string[1] { message }, lineNumber, linePosition);
204 }
static string Xml_DefaultException
Definition SR.cs:16
static string Xml_UserException
Definition SR.cs:14
Definition SR.cs:7
static string CreateMessage(string res, string[] args, int lineNumber, int linePosition)

References System.Xml.XmlException.CreateMessage(), System.SR.Xml_DefaultException, and System.SR.Xml_UserException.