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

◆ ValidatePiName()

void System.Xml.Xsl.Xslt.Compiler.ValidatePiName ( string name,
IErrorHelper errorHelper )
inline

Definition at line 274 of file Compiler.cs.

275 {
276 try
277 {
278 ValidateNames.ValidateNameThrow(string.Empty, name, string.Empty, XPathNodeType.ProcessingInstruction, ValidateNames.Flags.AllExceptPrefixMapping);
279 }
280 catch (XmlException ex)
281 {
282 errorHelper.ReportError(ex.Message, (string[])null);
283 }
284 }

References System.Xml.ValidateNames.ValidateNameThrow().

Referenced by System.Xml.Xsl.Xslt.QilGenerator.CompilePI().