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

◆ WriteCharEntity()

override void System.Xml.XmlBinaryNodeWriter.WriteCharEntity ( int ch)
inline

Definition at line 768 of file XmlBinaryNodeWriter.cs.

769 {
770 if (ch > 65535)
771 {
773 char[] chars = new char[2] { surrogateChar.HighChar, surrogateChar.LowChar };
774 WriteText(chars, 0, 2);
775 }
776 else
777 {
778 char[] chars2 = new char[1] { (char)ch };
779 WriteText(chars2, 0, 1);
780 }
781 }
override void WriteText(XmlDictionaryString value)

References System.ch, System.chars, System.Xml.Dictionary, and System.Xml.XmlBinaryNodeWriter.WriteText().