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

◆ WriteCharEntity()

override void System.Xml.XmlBaseWriter.WriteCharEntity ( char ch)
inlineinherited

Definition at line 1918 of file XmlBaseWriter.cs.

1919 {
1920 if (IsClosed)
1921 {
1922 ThrowClosed();
1923 }
1924 if (ch >= '\ud800' && ch <= '\udfff')
1925 {
1927 }
1928 if (_attributeValue != null)
1929 {
1930 WriteAttributeText(ch.ToString());
1931 }
1932 if (!_isXmlnsAttribute)
1933 {
1935 FlushBase64();
1937 EndContent();
1938 }
1939 }
static string XmlMissingLowSurrogate
Definition SR.cs:470
Definition SR.cs:7
void WriteAttributeText(string value)
void WriteCharEntity(int ch)

References System.Xml.XmlBaseWriter._attributeValue, System.Xml.XmlBaseWriter._isXmlnsAttribute, System.Xml.XmlBaseWriter._writer, System.Xml.ArgumentException, System.ch, System.Xml.XmlBaseWriter.EndContent(), System.Xml.XmlBaseWriter.FlushBase64(), System.Xml.XmlBaseWriter.IsClosed, System.Xml.XmlBaseWriter.StartContent(), System.Xml.XmlBaseWriter.ThrowClosed(), System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), System.Xml.XmlBaseWriter.WriteAttributeText(), System.Xml.XmlNodeWriter.WriteCharEntity(), and System.SR.XmlMissingLowSurrogate.