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);
3036
throw CreateUnexpectedTokenException(
_token
);
3594
throw CreateUnexpectedTokenException(
_token
);
3610
switch (
_token
)
3664
throw CreateUnexpectedTokenException(
_token
);
3670
if (BinXmlToken.XSD_UNSIGNEDLONG ==
_token
)
3677
throw CreateUnexpectedTokenException(
_token
);
3684
switch (
_token
)
3720
BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data, _tokDataPos,
_token
== BinXmlToken.XSD_DECIMAL);
3725
throw CreateUnexpectedTokenException(
_token
);
3732
switch (
_token
)
3761
throw CreateUnexpectedTokenException(
_token
);
3768
switch (
_token
)
3825
throw CreateUnexpectedTokenException(
_token
);
3832
return
_token
switch
3837
_ => throw CreateUnexpectedTokenException(
_token
),
3845
switch (
_token
)
3902
throw CreateUnexpectedTokenException(
_token
);
4023
throw CreateUnexpectedTokenException(
_token
);
4169
throw CreateUnexpectedTokenException(
_token
);
4370
throw CreateUnexpectedTokenException(
_token
);