18 writes to _tokDataPos
System.Private.Xml (18)
System\Xml\BinaryXml\XmlBinaryReader.cs (18)
2020
_tokDataPos
-= mark;
2035
_tokDataPos
-= end;
3138
_tokLen = ScanText(out
_tokDataPos
);
3142
_tokLen =
_tokDataPos
= 0;
3152
_tokLen = ScanText(out
_tokDataPos
);
3160
_tokLen = ScanText(out
_tokDataPos
);
3168
_tokLen = ScanText(out
_tokDataPos
);
3343
_tokDataPos
= _pos;
3380
_tokDataPos
= _pos;
3387
_tokDataPos
= _pos;
3397
_tokDataPos
= _pos;
3410
_tokDataPos
= _pos;
3416
_tokDataPos
= _pos;
3424
_tokDataPos
= _pos;
3436
_tokDataPos
= _pos;
3444
_tokDataPos
= _pos;
3462
_tokDataPos
= _pos;
3473
_tokDataPos
= _pos;
100 references to _tokDataPos
System.Private.Xml (100)
System\Xml\BinaryXml\XmlBinaryReader.cs (100)
479
return _stringValue = GetString(
_tokDataPos
, _tokLen);
1071
value = 0 != _data[
_tokDataPos
];
2758
string value = GetString(
_tokDataPos
, _tokLen);
3493
ReadOnlySpan<byte> data = _data.AsSpan(
_tokDataPos
, _pos -
_tokDataPos
);
3546
Debug.Assert(0 == ((_pos -
_tokDataPos
) & 1), "Data size should not be odd");
3547
for (int pos =
_tokDataPos
; pos < _pos; pos += 2)
3571
if ((_end -
_tokDataPos
) < _tokLen)
3618
byte v = _data[
_tokDataPos
];
3624
sbyte v = unchecked((sbyte)_data[
_tokDataPos
]);
3629
return GetInt16(
_tokDataPos
);
3632
return GetInt32(
_tokDataPos
);
3635
return GetInt64(
_tokDataPos
);
3638
return GetUInt16(
_tokDataPos
);
3641
return GetUInt32(
_tokDataPos
);
3645
ulong v = GetUInt64(
_tokDataPos
);
3676
return GetUInt64(
_tokDataPos
);
3703
return new decimal(GetSingle(
_tokDataPos
));
3706
return new decimal(GetDouble(
_tokDataPos
));
3710
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt32(
_tokDataPos
));
3715
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt64(
_tokDataPos
));
3723
BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data,
_tokDataPos
, _token == BinXmlToken.XSD_DECIMAL);
3751
return GetSingle(
_tokDataPos
);
3754
return GetDouble(
_tokDataPos
);
3775
int pos =
_tokDataPos
;
3784
int pos =
_tokDataPos
;
3793
long time = GetInt64(
_tokDataPos
);
3799
long time = GetInt64(
_tokDataPos
);
3805
long time = GetInt64(
_tokDataPos
);
3810
return BinXmlDateTime.XsdKatmaiDateToDateTime(_data,
_tokDataPos
);
3813
return BinXmlDateTime.XsdKatmaiDateTimeToDateTime(_data,
_tokDataPos
);
3816
return BinXmlDateTime.XsdKatmaiTimeToDateTime(_data,
_tokDataPos
);
3819
return BinXmlDateTime.XsdKatmaiDateOffsetToDateTime(_data,
_tokDataPos
);
3822
return BinXmlDateTime.XsdKatmaiDateTimeOffsetToDateTime(_data,
_tokDataPos
);
3825
return BinXmlDateTime.XsdKatmaiTimeOffsetToDateTime(_data,
_tokDataPos
);
3837
BinXmlToken.XSD_KATMAI_DATEOFFSET => BinXmlDateTime.XsdKatmaiDateOffsetToDateTimeOffset(_data,
_tokDataPos
),
3838
BinXmlToken.XSD_KATMAI_DATETIMEOFFSET => BinXmlDateTime.XsdKatmaiDateTimeOffsetToDateTimeOffset(_data,
_tokDataPos
),
3839
BinXmlToken.XSD_KATMAI_TIMEOFFSET => BinXmlDateTime.XsdKatmaiTimeOffsetToDateTimeOffset(_data,
_tokDataPos
),
3852
int pos =
_tokDataPos
;
3861
int pos =
_tokDataPos
;
3870
long time = GetInt64(
_tokDataPos
);
3876
long time = GetInt64(
_tokDataPos
);
3882
long time = GetInt64(
_tokDataPos
);
3887
return BinXmlDateTime.XsdKatmaiDateToString(_data,
_tokDataPos
);
3890
return BinXmlDateTime.XsdKatmaiDateTimeToString(_data,
_tokDataPos
);
3893
return BinXmlDateTime.XsdKatmaiTimeToString(_data,
_tokDataPos
);
3896
return BinXmlDateTime.XsdKatmaiDateOffsetToString(_data,
_tokDataPos
);
3899
return BinXmlDateTime.XsdKatmaiDateTimeOffsetToString(_data,
_tokDataPos
);
3902
return BinXmlDateTime.XsdKatmaiTimeOffsetToString(_data,
_tokDataPos
);
3919
return GetString(
_tokDataPos
, _tokLen);
3923
if (0 == _data[
_tokDataPos
])
3943
return XmlConvert.ToString(GetSingle(
_tokDataPos
));
3946
return XmlConvert.ToString(GetDouble(
_tokDataPos
));
3951
int pos =
_tokDataPos
;
3961
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt32(
_tokDataPos
));
3966
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt64(
_tokDataPos
));
3974
BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data,
_tokDataPos
, token == BinXmlToken.XSD_DECIMAL);
3982
int pos =
_tokDataPos
;
3994
return Convert.ToBase64String(_data,
_tokDataPos
, _tokLen);
3998
return BinHexEncoder.Encode(_data,
_tokDataPos
, _tokLen);
4015
int nameNum = ParseMB32(
_tokDataPos
);
4044
return GetString(
_tokDataPos
, _tokLen);
4047
return (0 != _data[
_tokDataPos
]);
4050
return (int)_data[
_tokDataPos
];
4053
return _data[
_tokDataPos
];
4056
return GetInt16(
_tokDataPos
);
4059
return GetInt32(
_tokDataPos
);
4062
return GetInt64(
_tokDataPos
);
4066
sbyte v = unchecked((sbyte)_data[
_tokDataPos
]);
4071
return GetUInt16(
_tokDataPos
);
4074
return GetUInt32(
_tokDataPos
);
4077
return GetUInt64(
_tokDataPos
);
4080
return GetSingle(
_tokDataPos
);
4083
return GetDouble(
_tokDataPos
);
4088
int pos =
_tokDataPos
;
4098
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt32(
_tokDataPos
));
4107
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt64(
_tokDataPos
));
4118
BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data,
_tokDataPos
, token == BinXmlToken.XSD_DECIMAL);
4129
int pos =
_tokDataPos
;
4143
Array.Copy(_data,
_tokDataPos
, data, 0, _tokLen);
4164
int nameNum = ParseMB32(
_tokDataPos
);
4192
GetString(
_tokDataPos
, _tokLen),
4198
(0 != _data[
_tokDataPos
]),
4204
(int)_data[
_tokDataPos
],
4210
_data[
_tokDataPos
],
4216
int v = GetInt16(
_tokDataPos
);
4223
int v = GetInt32(
_tokDataPos
);
4230
long v = GetInt64(
_tokDataPos
);
4238
(int)unchecked((sbyte)_data[
_tokDataPos
]),
4244
int v = GetUInt16(
_tokDataPos
);
4251
long v = GetUInt32(
_tokDataPos
);
4258
decimal v = (decimal)GetUInt64(
_tokDataPos
);
4265
float v = GetSingle(
_tokDataPos
);
4272
double v = GetDouble(
_tokDataPos
);
4284
(new BinXmlSqlMoney(GetInt32(
_tokDataPos
))).ToDecimal(),
4290
(new BinXmlSqlMoney(GetInt64(
_tokDataPos
))).ToDecimal(),
4298
(new BinXmlSqlDecimal(_data,
_tokDataPos
, token == BinXmlToken.XSD_DECIMAL)).ToDecimal(),
4306
int pos =
_tokDataPos
;
4323
Array.Copy(_data,
_tokDataPos
, data, 0, _tokLen);
4362
int nameNum = ParseMB32(
_tokDataPos
);