11 writes to _token
System.Private.Xml (11)
System\Xml\BinaryXml\XmlBinaryReader.cs (11)
339_token = BinXmlToken.Error; 803_token = BinXmlToken.Element; 805_token = BinXmlToken.XmlDecl; 807_token = BinXmlToken.DocType; 847_token = tok; 854_token = BinXmlToken.Error; 878_token = BinXmlToken.Error; 1016_token = token; 2357_token = token; 2402_token = BinXmlToken.Attr; 2833_token = NextToken();
45 references to _token
System.Private.Xml (45)
System\Xml\BinaryXml\XmlBinaryReader.cs (45)
490return _stringValue = ValueAsString(_token); 505return _stringValue = ValueAsString(_token); 1068switch (_token) 1109throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported, _token, "Boolean")); 1158switch (_token) 1199throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported, _token, "DateTime")); 1253switch (_token) 1294throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported, _token, "Double")); 1348switch (_token) 1389throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported, _token, "Float")); 1443switch (_token) 1484throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported, _token, "Decimal")); 1538switch (_token) 1579throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported, _token, "Int32")); 1633switch (_token) 1674throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported, _token, "Int64")); 1731value = this.ValueAsObject(_token, false); 1773value = this.ValueAsObject(_token, false); 1777value = this.ValueAs(_token, returnType, namespaceResolver); 2757Debug.Assert(_token == BinXmlToken.CData, "this.token == BinXmlToken.CData"); 2834switch (_token) 2934ImplReadData(_token); 2942throw CreateUnexpectedTokenException(_token); 2965_valueType = GetValueType(_token); 2970_nodetype = ScanOverValue(_token, false, true); 3036throw CreateUnexpectedTokenException(_token); 3594throw CreateUnexpectedTokenException(_token); 3610switch (_token) 3664throw CreateUnexpectedTokenException(_token); 3670if (BinXmlToken.XSD_UNSIGNEDLONG == _token) 3677throw CreateUnexpectedTokenException(_token); 3684switch (_token) 3720BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data, _tokDataPos, _token == BinXmlToken.XSD_DECIMAL); 3725throw CreateUnexpectedTokenException(_token); 3732switch (_token) 3761throw CreateUnexpectedTokenException(_token); 3768switch (_token) 3825throw CreateUnexpectedTokenException(_token); 3832return _token switch 3837_ => throw CreateUnexpectedTokenException(_token), 3845switch (_token) 3902throw CreateUnexpectedTokenException(_token); 4023throw CreateUnexpectedTokenException(_token); 4169throw CreateUnexpectedTokenException(_token); 4370throw CreateUnexpectedTokenException(_token);