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)
490
return _stringValue = ValueAsString(
_token
);
505
return _stringValue = ValueAsString(
_token
);
1068
switch (
_token
)
1109
throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported,
_token
, "Boolean"));
1158
switch (
_token
)
1199
throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported,
_token
, "DateTime"));
1253
switch (
_token
)
1294
throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported,
_token
, "Double"));
1348
switch (
_token
)
1389
throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported,
_token
, "Float"));
1443
switch (
_token
)
1484
throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported,
_token
, "Decimal"));
1538
switch (
_token
)
1579
throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported,
_token
, "Int32"));
1633
switch (
_token
)
1674
throw new InvalidCastException(SR.Format(SR.XmlBinary_CastNotSupported,
_token
, "Int64"));
1731
value = this.ValueAsObject(
_token
, false);
1773
value = this.ValueAsObject(
_token
, false);
1777
value = this.ValueAs(
_token
, returnType, namespaceResolver);
2757
Debug.Assert(
_token
== BinXmlToken.CData, "this.token == BinXmlToken.CData");
2834
switch (
_token
)
2934
ImplReadData(
_token
);
2942
throw CreateUnexpectedTokenException(
_token
);
2965
_valueType = GetValueType(
_token
);
2970
_nodetype = ScanOverValue(
_token
, false, true);
3038
throw CreateUnexpectedTokenException(
_token
);
3597
throw CreateUnexpectedTokenException(
_token
);
3613
switch (
_token
)
3667
throw CreateUnexpectedTokenException(
_token
);
3673
if (BinXmlToken.XSD_UNSIGNEDLONG ==
_token
)
3680
throw CreateUnexpectedTokenException(
_token
);
3687
switch (
_token
)
3723
BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data, _tokDataPos,
_token
== BinXmlToken.XSD_DECIMAL);
3728
throw CreateUnexpectedTokenException(
_token
);
3735
switch (
_token
)
3764
throw CreateUnexpectedTokenException(
_token
);
3771
switch (
_token
)
3828
throw CreateUnexpectedTokenException(
_token
);
3835
return
_token
switch
3840
_ => throw CreateUnexpectedTokenException(
_token
),
3848
switch (
_token
)
3905
throw CreateUnexpectedTokenException(
_token
);
4026
throw CreateUnexpectedTokenException(
_token
);
4172
throw CreateUnexpectedTokenException(
_token
);
4373
throw CreateUnexpectedTokenException(
_token
);