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

◆ WriteChars()

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

Definition at line 221 of file XmlCharCheckingWriter.cs.

222 {
223 if (buffer == null)
224 {
225 throw new ArgumentNullException("buffer");
226 }
227 if (index < 0)
228 {
229 throw new ArgumentOutOfRangeException("index");
230 }
231 if (count < 0)
232 {
233 throw new ArgumentOutOfRangeException("count");
234 }
235 if (count > buffer.Length - index)
236 {
237 throw new ArgumentOutOfRangeException("count");
238 }
239 if (_checkValues)
240 {
242 }
243 if (_replaceNewLines && WriteState != WriteState.Attribute)
244 {
246 if (text != null)
247 {
249 return;
250 }
251 }
253 }
override void WriteString(string text)
void WriteChars(char[] buffer, int index, int count)

References System.Xml.XmlCharCheckingWriter._checkValues, System.Xml.XmlCharCheckingWriter._replaceNewLines, System.buffer, System.Xml.XmlCharCheckingWriter.CheckCharacters(), System.count, System.index, System.Xml.XmlCharCheckingWriter.ReplaceNewLines(), System.text, System.Xml.XmlWriter.WriteChars(), System.Xml.XmlWrappingWriter.writer, and System.Xml.XmlCharCheckingWriter.WriteString().