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

◆ WriteChars()

override void System.Xml.XmlWellFormedWriter.WriteChars ( char[] buffer,
int index,
int count )
inline

Definition at line 2047 of file XmlWellFormedWriter.cs.

2048 {
2049 try
2050 {
2051 if (buffer == null)
2052 {
2053 throw new ArgumentNullException("buffer");
2054 }
2055 if (index < 0)
2056 {
2057 throw new ArgumentOutOfRangeException("index");
2058 }
2059 if (count < 0)
2060 {
2061 throw new ArgumentOutOfRangeException("count");
2062 }
2063 if (count > buffer.Length - index)
2064 {
2065 throw new ArgumentOutOfRangeException("count");
2066 }
2067 AdvanceState(Token.Text);
2068 if (SaveAttrValue)
2069 {
2071 }
2072 else
2073 {
2075 }
2076 }
2077 catch
2078 {
2079 _currentState = State.Error;
2080 throw;
2081 }
2082 }
void WriteChars(char[] buffer, int index, int count)
void WriteChars(char[] buffer, int index, int count)

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceState(), System.buffer, System.count, System.index, System.Xml.XmlWellFormedWriter.SaveAttrValue, System.Xml.XmlWellFormedWriter.AttributeValueCache.WriteChars(), and System.Xml.XmlWriter.WriteChars().