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

◆ InitReadContentAsType()

void System.Xml.XmlSubtreeReader.InitReadContentAsType ( string methodName)
inlineprivate

Definition at line 1311 of file XmlSubtreeReader.cs.

1312 {
1313 switch (_state)
1314 {
1315 case State.Initial:
1316 case State.Error:
1317 case State.EndOfFile:
1318 case State.Closed:
1320 case State.Interactive:
1321 break;
1322 case State.PopNamespaceScope:
1323 case State.ClearNsAttributes:
1324 break;
1325 case State.ReadElementContentAsBase64:
1326 case State.ReadElementContentAsBinHex:
1327 case State.ReadContentAsBase64:
1328 case State.ReadContentAsBinHex:
1330 default:
1332 }
1333 }
static string Xml_ClosedOrErrorReader
Definition SR.cs:206
static string Xml_MixingReadValueChunkWithBinary
Definition SR.cs:182
Definition SR.cs:7
Exception CreateReadContentAsException(string methodName)

References System.Xml.XmlSubtreeReader._state, System.Xml.XmlReader.CreateReadContentAsException(), System.SR.Xml_ClosedOrErrorReader, and System.SR.Xml_MixingReadValueChunkWithBinary.

Referenced by System.Xml.XmlSubtreeReader.ReadContentAs(), System.Xml.XmlSubtreeReader.ReadContentAsAsync(), System.Xml.XmlSubtreeReader.ReadContentAsBoolean(), System.Xml.XmlSubtreeReader.ReadContentAsDateTime(), System.Xml.XmlSubtreeReader.ReadContentAsDecimal(), System.Xml.XmlSubtreeReader.ReadContentAsDouble(), System.Xml.XmlSubtreeReader.ReadContentAsFloat(), System.Xml.XmlSubtreeReader.ReadContentAsInt(), System.Xml.XmlSubtreeReader.ReadContentAsLong(), System.Xml.XmlSubtreeReader.ReadContentAsObject(), System.Xml.XmlSubtreeReader.ReadContentAsObjectAsync(), System.Xml.XmlSubtreeReader.ReadContentAsString(), and System.Xml.XmlSubtreeReader.ReadContentAsStringAsync().