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

◆ WriteSurrogateCharEntity()

override void System.Xml.XmlBaseWriter.WriteSurrogateCharEntity ( char lowChar,
char highChar )
inlineinherited

Definition at line 1941 of file XmlBaseWriter.cs.

1942 {
1943 if (IsClosed)
1944 {
1945 ThrowClosed();
1946 }
1948 if (_attributeValue != null)
1949 {
1950 Span<char> span = stackalloc char[2] { highChar, lowChar };
1951 WriteAttributeText(new string(span));
1952 }
1953 if (!_isXmlnsAttribute)
1954 {
1955 StartContent();
1956 FlushBase64();
1958 EndContent();
1959 }
1960 }
void WriteAttributeText(string value)
void WriteCharEntity(int ch)

References System.Xml.XmlBaseWriter._attributeValue, System.Xml.XmlBaseWriter._isXmlnsAttribute, System.Xml.XmlBaseWriter._writer, System.Xml.Dictionary, System.Xml.XmlBaseWriter.EndContent(), System.Xml.XmlBaseWriter.FlushBase64(), System.Xml.XmlBaseWriter.IsClosed, System.Xml.XmlBaseWriter.StartContent(), System.Xml.XmlBaseWriter.ThrowClosed(), System.Xml.XmlBaseWriter.WriteAttributeText(), and System.Xml.XmlNodeWriter.WriteCharEntity().