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

◆ WriteEntityRef()

override void System.Xml.XmlWellFormedWriter.WriteEntityRef ( string name)
inline

Definition at line 1918 of file XmlWellFormedWriter.cs.

1919 {
1920 try
1921 {
1922 if (name == null || name.Length == 0)
1923 {
1925 }
1926 CheckNCName(name);
1927 AdvanceState(Token.Text);
1928 if (SaveAttrValue)
1929 {
1931 }
1932 else
1933 {
1934 _writer.WriteEntityRef(name);
1935 }
1936 }
1937 catch
1938 {
1939 _currentState = State.Error;
1940 throw;
1941 }
1942 }
static string Xml_EmptyName
Definition SR.cs:292
Definition SR.cs:7
void WriteEntityRef(string name)

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceState(), System.Xml.ArgumentException, System.Xml.XmlWellFormedWriter.CheckNCName(), System.Xml.XmlWellFormedWriter.SaveAttrValue, System.Xml.XmlWellFormedWriter.AttributeValueCache.WriteEntityRef(), System.Xml.XmlWriter.WriteEntityRef(), and System.SR.Xml_EmptyName.