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

◆ FinishContentAsXXX()

int System.Xml.XmlSqlBinaryReader.FinishContentAsXXX ( int origPos)
inlineprivate

Definition at line 993 of file XmlSqlBinaryReader.cs.

994 {
995 if (_state == ScanState.Doc)
996 {
997 if (NodeType != XmlNodeType.Element && NodeType != XmlNodeType.EndElement)
998 {
999 while (Read())
1000 {
1001 XmlNodeType nodeType = NodeType;
1002 if (nodeType == XmlNodeType.Element)
1003 {
1004 break;
1005 }
1006 if ((uint)(nodeType - 7) > 1u)
1007 {
1008 if (nodeType == XmlNodeType.EndElement)
1009 {
1010 break;
1011 }
1013 }
1014 }
1015 }
1016 return _pos;
1017 }
1018 return origPos;
1019 }
static string XmlBinary_ListsOfValuesNotSupported
Definition SR.cs:1380
Definition SR.cs:7
Exception ThrowNotSupported(string res)

References System.Xml.XmlSqlBinaryReader._pos, System.Xml.XmlSqlBinaryReader._state, System.Xml.Dictionary, System.Xml.XmlSqlBinaryReader.NodeType, System.Xml.XmlSqlBinaryReader.Read(), System.Xml.XmlSqlBinaryReader.ThrowNotSupported(), and System.SR.XmlBinary_ListsOfValuesNotSupported.

Referenced by System.Xml.XmlSqlBinaryReader.ReadContentAs(), System.Xml.XmlSqlBinaryReader.ReadContentAsBoolean(), System.Xml.XmlSqlBinaryReader.ReadContentAsDateTime(), System.Xml.XmlSqlBinaryReader.ReadContentAsDecimal(), System.Xml.XmlSqlBinaryReader.ReadContentAsDouble(), System.Xml.XmlSqlBinaryReader.ReadContentAsFloat(), System.Xml.XmlSqlBinaryReader.ReadContentAsInt(), System.Xml.XmlSqlBinaryReader.ReadContentAsLong(), and System.Xml.XmlSqlBinaryReader.ReadContentAsObject().