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

◆ CreateMessage()

static string System.Xml.XPath.XPathException.CreateMessage ( string res,
string[] args )
inlinestaticprivate

Definition at line 110 of file XPathException.cs.

111 {
112 try
113 {
114 string text;
115 if (args != null)
116 {
117 text = string.Format(res, args);
118 }
119 else
120 {
121 text = res;
122 }
123 string text2 = text;
124 if (text2 == null)
125 {
126 text2 = "UNKNOWN(" + res + ")";
127 }
128 return text2;
129 }
131 {
132 return "UNKNOWN(" + res + ")";
133 }
134 }

References System.Xml.Dictionary, and System.text.

Referenced by System.Xml.XPath.XPathException.XPathException().