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

◆ AddLineInfo()

static string System.Xml.XmlReader.AddLineInfo ( string message,
IXmlLineInfo lineInfo )
inlinestaticprivateinherited

Definition at line 1209 of file XmlReader.cs.

1210 {
1211 if (lineInfo != null)
1212 {
1213 object[] args = new object[2]
1214 {
1215 lineInfo.LineNumber.ToString(CultureInfo.InvariantCulture),
1216 lineInfo.LinePosition.ToString(CultureInfo.InvariantCulture)
1217 };
1218 message = message + " " + System.SR.Format(System.SR.Xml_ErrorPosition, args);
1219 }
1220 return message;
1221 }
static CultureInfo InvariantCulture
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Xml_ErrorPosition
Definition SR.cs:58
Definition SR.cs:7

References System.Xml.Dictionary, System.SR.Format(), System.Globalization.CultureInfo.InvariantCulture, System.Xml.IXmlLineInfo.LineNumber, System.Xml.IXmlLineInfo.LinePosition, and System.SR.Xml_ErrorPosition.

Referenced by System.Xml.XmlReader.CreateReadContentAsException(), and System.Xml.XmlReader.CreateReadElementContentAsException().