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