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

◆ XmlException() [6/19]

System.Xml.XmlException.XmlException ( string message,
Exception innerException,
int lineNumber,
int linePosition,
string sourceUri )
inlinepackage

Definition at line 111 of file XmlException.cs.

112 : base(FormatUserMessage(message, lineNumber, linePosition), innerException)
113 {
114 base.HResult = -2146232000;
115 _res = ((message == null) ? System.SR.Xml_DefaultException : System.SR.Xml_UserException);
116 _args = new string[1] { message };
118 _lineNumber = lineNumber;
119 _linePosition = linePosition;
120 }
static string Xml_DefaultException
Definition SR.cs:16
Definition SR.cs:7
readonly string _res
readonly int _linePosition
readonly string[] _args
readonly string _sourceUri
static string FormatUserMessage(string message, int lineNumber, int linePosition)

References System.Xml.XmlException._args, System.Xml.XmlException._lineNumber, System.Xml.XmlException._linePosition, System.Xml.XmlException._res, System.Xml.XmlException._sourceUri, System.Xml.Dictionary, System.SR.Xml_DefaultException, and System.SR.Xml_UserException.