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

◆ CheckName()

static void System.Xml.XmlDocument.CheckName ( string name)
inlinestaticpackage

Definition at line 474 of file XmlDocument.cs.

475 {
476 int num = ValidateNames.ParseNmtoken(name, 0);
477 if (num < name.Length)
478 {
479 throw new XmlException(System.SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, num));
480 }
481 }
static string Xml_BadNameChar
Definition SR.cs:44
Definition SR.cs:7

References System.Xml.XmlException.BuildCharExceptionArgs(), System.Xml.ValidateNames.ParseNmtoken(), System.SR.Xml_BadNameChar, and System.Xml.XmlException.

Referenced by System.Xml.XmlAttribute.XmlAttribute(), and System.Xml.XmlElement.XmlElement().