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

◆ WriteRaw() [1/2]

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

Definition at line 2084 of file XmlWellFormedWriter.cs.

2085 {
2086 try
2087 {
2088 if (buffer == null)
2089 {
2090 throw new ArgumentNullException("buffer");
2091 }
2092 if (index < 0)
2093 {
2094 throw new ArgumentOutOfRangeException("index");
2095 }
2096 if (count < 0)
2097 {
2098 throw new ArgumentOutOfRangeException("count");
2099 }
2100 if (count > buffer.Length - index)
2101 {
2102 throw new ArgumentOutOfRangeException("count");
2103 }
2104 AdvanceState(Token.RawData);
2105 if (SaveAttrValue)
2106 {
2108 }
2109 else
2110 {
2112 }
2113 }
2114 catch
2115 {
2116 _currentState = State.Error;
2117 throw;
2118 }
2119 }
void WriteRaw(char[] buffer, int index, int count)
void WriteRaw(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.WriteRaw(), and System.Xml.XmlWriter.WriteRaw().