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

◆ VerifyWhitespace()

static string System.Xml.XmlConvert.VerifyWhitespace ( string content)
inlinestatic

Definition at line 459 of file XmlConvert.cs.

460 {
461 if (content == null)
462 {
463 throw new ArgumentNullException("content");
464 }
465 int num = XmlCharType.IsOnlyWhitespaceWithPos(content);
466 if (num != -1)
467 {
468 throw new XmlException(System.SR.Xml_InvalidWhitespaceCharacter, XmlException.BuildCharExceptionArgs(content, num), 0, num + 1);
469 }
470 return content;
471 }
static string Xml_InvalidWhitespaceCharacter
Definition SR.cs:200
Definition SR.cs:7

References System.Xml.XmlException.BuildCharExceptionArgs(), System.Xml.XmlCharType.IsOnlyWhitespaceWithPos(), System.SR.Xml_InvalidWhitespaceCharacter, and System.Xml.XmlException.