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); 3038throw CreateUnexpectedTokenException(_token); 3597throw CreateUnexpectedTokenException(_token); 3613switch (_token) 3667throw CreateUnexpectedTokenException(_token); 3673if (BinXmlToken.XSD_UNSIGNEDLONG == _token) 3680throw CreateUnexpectedTokenException(_token); 3687switch (_token) 3723BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data, _tokDataPos, _token == BinXmlToken.XSD_DECIMAL); 3728throw CreateUnexpectedTokenException(_token); 3735switch (_token) 3764throw CreateUnexpectedTokenException(_token); 3771switch (_token) 3828throw CreateUnexpectedTokenException(_token); 3835return _token switch 3840_ => throw CreateUnexpectedTokenException(_token), 3848switch (_token) 3905throw CreateUnexpectedTokenException(_token); 4026throw CreateUnexpectedTokenException(_token); 4172throw CreateUnexpectedTokenException(_token); 4373throw CreateUnexpectedTokenException(_token);