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

◆ ImplReadData()

void System.Xml.XmlSqlBinaryReader.ImplReadData ( BinXmlToken tokenType)
inlineprivate

Definition at line 2794 of file XmlSqlBinaryReader.cs.

2795 {
2796 _mark = _pos;
2797 switch (tokenType)
2798 {
2799 case BinXmlToken.SQL_CHAR:
2800 case BinXmlToken.SQL_NCHAR:
2801 case BinXmlToken.SQL_VARCHAR:
2802 case BinXmlToken.SQL_NVARCHAR:
2803 case BinXmlToken.SQL_TEXT:
2804 case BinXmlToken.SQL_NTEXT:
2806 _hasTypedValue = false;
2807 break;
2808 default:
2810 _hasTypedValue = true;
2811 break;
2812 }
2814 switch (PeekNextToken())
2815 {
2816 case BinXmlToken.SQL_SMALLINT:
2817 case BinXmlToken.SQL_INT:
2818 case BinXmlToken.SQL_REAL:
2819 case BinXmlToken.SQL_FLOAT:
2820 case BinXmlToken.SQL_MONEY:
2821 case BinXmlToken.SQL_BIT:
2822 case BinXmlToken.SQL_TINYINT:
2823 case BinXmlToken.SQL_BIGINT:
2824 case BinXmlToken.SQL_UUID:
2825 case BinXmlToken.SQL_DECIMAL:
2826 case BinXmlToken.SQL_NUMERIC:
2827 case BinXmlToken.SQL_BINARY:
2828 case BinXmlToken.SQL_CHAR:
2829 case BinXmlToken.SQL_NCHAR:
2830 case BinXmlToken.SQL_VARBINARY:
2831 case BinXmlToken.SQL_VARCHAR:
2832 case BinXmlToken.SQL_NVARCHAR:
2833 case BinXmlToken.SQL_DATETIME:
2834 case BinXmlToken.SQL_SMALLDATETIME:
2835 case BinXmlToken.SQL_SMALLMONEY:
2836 case BinXmlToken.SQL_TEXT:
2837 case BinXmlToken.SQL_IMAGE:
2838 case BinXmlToken.SQL_NTEXT:
2839 case BinXmlToken.SQL_UDT:
2840 case BinXmlToken.XSD_KATMAI_TIMEOFFSET:
2841 case BinXmlToken.XSD_KATMAI_DATETIMEOFFSET:
2842 case BinXmlToken.XSD_KATMAI_DATEOFFSET:
2843 case BinXmlToken.XSD_KATMAI_TIME:
2844 case BinXmlToken.XSD_KATMAI_DATETIME:
2845 case BinXmlToken.XSD_KATMAI_DATE:
2846 case BinXmlToken.XSD_TIME:
2847 case BinXmlToken.XSD_DATETIME:
2848 case BinXmlToken.XSD_DATE:
2849 case BinXmlToken.XSD_BINHEX:
2850 case BinXmlToken.XSD_BASE64:
2851 case BinXmlToken.XSD_BOOLEAN:
2852 case BinXmlToken.XSD_DECIMAL:
2853 case BinXmlToken.XSD_BYTE:
2854 case BinXmlToken.XSD_UNSIGNEDSHORT:
2855 case BinXmlToken.XSD_UNSIGNEDINT:
2856 case BinXmlToken.XSD_UNSIGNEDLONG:
2857 case BinXmlToken.XSD_QNAME:
2859 }
2860 }
static string XmlBinary_ListsOfValuesNotSupported
Definition SR.cs:1380
Definition SR.cs:7
Type GetValueType(BinXmlToken token)
XmlNodeType ScanOverValue(BinXmlToken token, bool attr, bool checkChars)
Exception ThrowNotSupported(string res)

References System.Xml.XmlSqlBinaryReader._hasTypedValue, System.Xml.XmlSqlBinaryReader._mark, System.Xml.XmlSqlBinaryReader._nodetype, System.Xml.XmlSqlBinaryReader._pos, System.Xml.XmlSqlBinaryReader._token, System.Xml.XmlSqlBinaryReader._valueType, System.Xml.Dictionary, System.Xml.XmlSqlBinaryReader.GetValueType(), System.Xml.XmlSqlBinaryReader.PeekNextToken(), System.Xml.XmlSqlBinaryReader.ScanOverValue(), System.Xml.XmlSqlBinaryReader.ThrowNotSupported(), System.Xml.XmlSqlBinaryReader.TypeOfString, and System.SR.XmlBinary_ListsOfValuesNotSupported.

Referenced by System.Xml.XmlSqlBinaryReader.ReadDoc().