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

◆ WriteRawAsync() [1/2]

override async Task System.Xml.XmlWellFormedWriter.WriteRawAsync ( char[] buffer,
int index,
int count )
inlinevirtual

Reimplemented from System.Xml.XmlWriter.

Definition at line 3990 of file XmlWellFormedWriter.cs.

3991 {
3992 _ = 1;
3993 try
3994 {
3995 if (buffer == null)
3996 {
3997 throw new ArgumentNullException("buffer");
3998 }
3999 if (index < 0)
4000 {
4001 throw new ArgumentOutOfRangeException("index");
4002 }
4003 if (count < 0)
4004 {
4005 throw new ArgumentOutOfRangeException("count");
4006 }
4007 if (count > buffer.Length - index)
4008 {
4009 throw new ArgumentOutOfRangeException("count");
4010 }
4012 if (SaveAttrValue)
4013 {
4015 }
4016 else
4017 {
4019 }
4020 }
4021 catch
4022 {
4023 _currentState = State.Error;
4024 throw;
4025 }
4026 }
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
void WriteRaw(char[] buffer, int index, int count)
virtual Task WriteRawAsync(char[] buffer, int index, int count)
Definition XmlWriter.cs:683

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceStateAsync(), System.buffer, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.count, System.index, System.Xml.XmlWellFormedWriter.SaveAttrValue, System.Xml.XmlWellFormedWriter.AttributeValueCache.WriteRaw(), and System.Xml.XmlWriter.WriteRawAsync().