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

◆ FinishOtherValueIterator()

void System.Xml.XmlTextReaderImpl.FinishOtherValueIterator ( )
inlineprivate

Definition at line 5455 of file XmlTextReaderImpl.cs.

5456 {
5457 switch (_parsingFunction)
5458 {
5459 case ParsingFunction.InReadValueChunk:
5460 if (_incReadState == IncrementalReadState.ReadValueChunk_OnPartialValue)
5461 {
5463 _incReadState = IncrementalReadState.ReadValueChunk_OnCachedValue;
5464 }
5465 else if (_readValueOffset > 0)
5466 {
5468 _readValueOffset = 0;
5469 }
5470 break;
5471 case ParsingFunction.InReadContentAsBinary:
5472 case ParsingFunction.InReadElementContentAsBinary:
5473 switch (_incReadState)
5474 {
5475 case IncrementalReadState.ReadContentAsBinary_OnPartialValue:
5477 _incReadState = IncrementalReadState.ReadContentAsBinary_OnCachedValue;
5478 break;
5479 case IncrementalReadState.ReadContentAsBinary_OnCachedValue:
5480 if (_readValueOffset > 0)
5481 {
5483 _readValueOffset = 0;
5484 }
5485 break;
5486 case IncrementalReadState.ReadContentAsBinary_End:
5487 _curNode.SetValue(string.Empty);
5488 break;
5489 }
5490 break;
5491 case ParsingFunction.InReadAttributeValue:
5492 break;
5493 }
5494 }
IncrementalReadState _incReadState

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