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

◆ WriteSurrogateCharEntity()

override void System.Xml.XmlWellFormedWriter.WriteSurrogateCharEntity ( char lowChar,
char highChar )
inline

Definition at line 1969 of file XmlWellFormedWriter.cs.

1970 {
1971 try
1972 {
1973 if (!char.IsSurrogatePair(highChar, lowChar))
1974 {
1975 throw XmlConvert.CreateInvalidSurrogatePairException(lowChar, highChar);
1976 }
1977 AdvanceState(Token.Text);
1978 if (SaveAttrValue)
1979 {
1981 }
1982 else
1983 {
1985 }
1986 }
1987 catch
1988 {
1989 _currentState = State.Error;
1990 throw;
1991 }
1992 }
void WriteSurrogateCharEntity(char lowChar, char highChar)
void WriteSurrogateCharEntity(char lowChar, char highChar)

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceState(), System.Xml.XmlConvert.CreateInvalidSurrogatePairException(), System.Xml.XmlWellFormedWriter.SaveAttrValue, System.Xml.XmlWellFormedWriter.AttributeValueCache.WriteSurrogateCharEntity(), and System.Xml.XmlWriter.WriteSurrogateCharEntity().