11 writes to token
System.Xml (11)
System\Xml\BinaryXml\XmlBinaryReader.cs (11)
331this.token = BinXmlToken.Error; 716this.token = BinXmlToken.Element; 718this.token = BinXmlToken.XmlDecl; 720this.token = BinXmlToken.DocType; 753this.token = tok; 759this.token = BinXmlToken.Error; 781this.token = BinXmlToken.Error; 892this.token = token; 2078this.token = token; 2116this.token = BinXmlToken.Attr; 2490this.token = NextToken();
45 references to token
System.Xml (45)
System\Xml\BinaryXml\XmlBinaryReader.cs (45)
467return this.stringValue = ValueAsString(this.token); 479return this.stringValue = ValueAsString(this.token); 935switch (this.token) { 975throw new InvalidCastException(Res.GetString(Res.XmlBinary_CastNotSupported, this.token, "Boolean")); 1017switch (this.token) { 1057throw new InvalidCastException(Res.GetString(Res.XmlBinary_CastNotSupported, this.token, "DateTime")); 1103switch (this.token) { 1143throw new InvalidCastException(Res.GetString(Res.XmlBinary_CastNotSupported, this.token, "Double")); 1189switch (this.token) { 1229throw new InvalidCastException(Res.GetString(Res.XmlBinary_CastNotSupported, this.token, "Float")); 1275switch (this.token) { 1315throw new InvalidCastException(Res.GetString(Res.XmlBinary_CastNotSupported, this.token, "Decimal")); 1361switch (this.token) { 1401throw new InvalidCastException(Res.GetString(Res.XmlBinary_CastNotSupported, this.token, "Int32")); 1447switch (this.token) { 1487throw new InvalidCastException(Res.GetString(Res.XmlBinary_CastNotSupported, this.token, "Int64")); 1536value = this.ValueAsObject(this.token, false); 1568value = this.ValueAsObject(this.token, false); 1571value = this.ValueAs(this.token, returnType, namespaceResolver); 2418Debug.Assert(this.token == BinXmlToken.CData, "this.token == BinXmlToken.CData"); 2491switch (this.token) { 2590ImplReadData(this.token); 2598throw ThrowUnexpectedToken(token); 2619this.valueType = GetValueType(this.token); 2624this.nodetype = ScanOverValue(this.token, false, true); 2688throw ThrowUnexpectedToken(this.token); 3192throw ThrowUnexpectedToken(this.token); 3205switch (this.token) { 3253throw ThrowUnexpectedToken(this.token); 3258if (BinXmlToken.XSD_UNSIGNEDLONG == this.token) { 3263throw ThrowUnexpectedToken(this.token); 3269switch (token) { 3301BinXmlSqlDecimal v = new BinXmlSqlDecimal(this.data, this.tokDataPos, token == BinXmlToken.XSD_DECIMAL); 3306throw ThrowUnexpectedToken(this.token); 3312switch (token) { 3340throw ThrowUnexpectedToken(this.token); 3346switch (token) { 3397throw ThrowUnexpectedToken(this.token); 3403switch (token) { 3414throw ThrowUnexpectedToken(this.token); 3421switch (token) { 3472throw ThrowUnexpectedToken(this.token); 3582throw ThrowUnexpectedToken( this.token ); 3717throw ThrowUnexpectedToken(this.token); 3903throw ThrowUnexpectedToken(this.token);