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

◆ WriteWhitespace() [1/2]

override void System.Xml.XmlCharCheckingWriter.WriteWhitespace ( string ws)
inline

Definition at line 180 of file XmlCharCheckingWriter.cs.

181 {
182 if (ws == null)
183 {
184 ws = string.Empty;
185 }
186 int invCharIndex;
187 if (_checkNames && (invCharIndex = XmlCharType.IsOnlyWhitespaceWithPos(ws)) != -1)
188 {
190 object[] args = XmlException.BuildCharExceptionArgs(ws, invCharIndex);
192 }
194 {
196 }
198 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Xml_InvalidWhitespaceCharacter
Definition SR.cs:200
Definition SR.cs:7
void WriteWhitespace(string? ws)

References System.Xml.XmlCharCheckingWriter._checkNames, System.Xml.XmlCharCheckingWriter._replaceNewLines, System.Xml.ArgumentException, System.Xml.XmlException.BuildCharExceptionArgs(), System.Xml.Dictionary, System.SR.Format(), System.Xml.XmlCharType.IsOnlyWhitespaceWithPos(), System.Xml.XmlCharCheckingWriter.ReplaceNewLines(), System.Xml.XmlWrappingWriter.writer, System.Xml.XmlWriter.WriteWhitespace(), and System.SR.Xml_InvalidWhitespaceCharacter.