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

◆ WriteProcessingInstruction() [1/2]

override void System.Xml.XmlCharCheckingWriter.WriteProcessingInstruction ( string name,
string text )
inline

Definition at line 150 of file XmlCharCheckingWriter.cs.

151 {
152 if (_checkNames)
153 {
154 ValidateNCName(name);
155 }
156 if (text != null)
157 {
158 if (_checkValues)
159 {
161 text = InterleaveInvalidChars(text, '?', '>');
162 }
164 {
166 }
167 }
169 }
string InterleaveInvalidChars(string text, char invChar1, char invChar2)
void WriteProcessingInstruction(string name, string? text)

References System.Xml.XmlCharCheckingWriter._checkNames, System.Xml.XmlCharCheckingWriter._checkValues, System.Xml.XmlCharCheckingWriter._replaceNewLines, System.Xml.XmlCharCheckingWriter.CheckCharacters(), System.Xml.XmlCharCheckingWriter.InterleaveInvalidChars(), System.Xml.XmlCharCheckingWriter.ReplaceNewLines(), System.text, System.Xml.XmlCharCheckingWriter.ValidateNCName(), System.Xml.XmlWriter.WriteProcessingInstruction(), and System.Xml.XmlWrappingWriter.writer.