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

◆ WriteCharEntity()

override void System.Xml.XmlWellFormedWriter.WriteCharEntity ( char ch)
inline

Definition at line 1944 of file XmlWellFormedWriter.cs.

1945 {
1946 try
1947 {
1948 if (char.IsSurrogate(ch))
1949 {
1951 }
1952 AdvanceState(Token.Text);
1953 if (SaveAttrValue)
1954 {
1956 }
1957 else
1958 {
1960 }
1961 }
1962 catch
1963 {
1964 _currentState = State.Error;
1965 throw;
1966 }
1967 }
static string Xml_InvalidSurrogateMissingLowChar
Definition SR.cs:324
Definition SR.cs:7
void WriteCharEntity(char ch)

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceState(), System.Xml.ArgumentException, System.ch, System.Xml.XmlWellFormedWriter.SaveAttrValue, System.Xml.XmlWellFormedWriter.AttributeValueCache.WriteCharEntity(), System.Xml.XmlWriter.WriteCharEntity(), and System.SR.Xml_InvalidSurrogateMissingLowChar.