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

◆ FinishOtherValueIteratorAsync()

async Task System.Xml.XmlTextReaderImpl.FinishOtherValueIteratorAsync ( )
inlineprivate

Definition at line 11415 of file XmlTextReaderImpl.cs.

11416 {
11417 switch (_parsingFunction)
11418 {
11419 case ParsingFunction.InReadValueChunk:
11420 if (_incReadState == IncrementalReadState.ReadValueChunk_OnPartialValue)
11421 {
11423 _incReadState = IncrementalReadState.ReadValueChunk_OnCachedValue;
11424 }
11425 else if (_readValueOffset > 0)
11426 {
11428 _readValueOffset = 0;
11429 }
11430 break;
11431 case ParsingFunction.InReadContentAsBinary:
11432 case ParsingFunction.InReadElementContentAsBinary:
11433 switch (_incReadState)
11434 {
11435 case IncrementalReadState.ReadContentAsBinary_OnPartialValue:
11437 _incReadState = IncrementalReadState.ReadContentAsBinary_OnCachedValue;
11438 break;
11439 case IncrementalReadState.ReadContentAsBinary_OnCachedValue:
11440 if (_readValueOffset > 0)
11441 {
11443 _readValueOffset = 0;
11444 }
11445 break;
11446 case IncrementalReadState.ReadContentAsBinary_End:
11447 _curNode.SetValue(string.Empty);
11448 break;
11449 }
11450 break;
11451 case ParsingFunction.InReadAttributeValue:
11452 break;
11453 }
11454 }
IncrementalReadState _incReadState

References System.Xml.XmlTextReaderImpl._curNode, System.Xml.XmlTextReaderImpl._incReadState, System.Xml.XmlTextReaderImpl._parsingFunction, System.Xml.XmlTextReaderImpl._readValueOffset, System.Xml.XmlTextReaderImpl.FinishPartialValueAsync(), System.Xml.XmlTextReaderImpl.NodeData.SetValue(), and System.Xml.XmlTextReaderImpl.NodeData.StringValue.

Referenced by System.Xml.XmlTextReaderImpl._GetValueAsync().