18 writes to _tokDataPos
dotnet-svcutil-lib (18)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (18)
2031
_tokDataPos
-= mark;
2048
_tokDataPos
-= end;
3159
_tokLen = ScanText(out
_tokDataPos
);
3163
_tokLen =
_tokDataPos
= 0;
3173
_tokLen = ScanText(out
_tokDataPos
);
3181
_tokLen = ScanText(out
_tokDataPos
);
3189
_tokLen = ScanText(out
_tokDataPos
);
3360
_tokDataPos
= _pos;
3397
_tokDataPos
= _pos;
3404
_tokDataPos
= _pos;
3414
_tokDataPos
= _pos;
3427
_tokDataPos
= _pos;
3433
_tokDataPos
= _pos;
3441
_tokDataPos
= _pos;
3453
_tokDataPos
= _pos;
3461
_tokDataPos
= _pos;
3479
_tokDataPos
= _pos;
3490
_tokDataPos
= _pos;
100 references to _tokDataPos
dotnet-svcutil-lib (100)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (100)
513
return _stringValue = GetString(
_tokDataPos
, _tokLen);
1082
value = 0 != _data[
_tokDataPos
];
2774
String value = GetString(
_tokDataPos
, _tokLen);
3507
Debug.Assert(0 == ((_pos -
_tokDataPos
) & 1), "Data size should not be odd");
3514
int pos =
_tokDataPos
;
3570
Debug.Assert(0 == ((_pos -
_tokDataPos
) & 1), "Data size should not be odd");
3571
for (int pos =
_tokDataPos
; pos < _pos; pos += 2)
3595
if ((_end -
_tokDataPos
) < _tokLen)
3642
byte v = _data[
_tokDataPos
];
3648
sbyte v = unchecked((sbyte)_data[
_tokDataPos
]);
3653
return GetInt16(
_tokDataPos
);
3656
return GetInt32(
_tokDataPos
);
3659
return GetInt64(
_tokDataPos
);
3662
return GetUInt16(
_tokDataPos
);
3665
return GetUInt32(
_tokDataPos
);
3669
ulong v = GetUInt64(
_tokDataPos
);
3700
return GetUInt64(
_tokDataPos
);
3727
return new Decimal(GetSingle(
_tokDataPos
));
3730
return new Decimal(GetDouble(
_tokDataPos
));
3734
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt32(
_tokDataPos
));
3739
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt64(
_tokDataPos
));
3747
BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data,
_tokDataPos
, _token == BinXmlToken.XSD_DECIMAL);
3775
return GetSingle(
_tokDataPos
);
3778
return GetDouble(
_tokDataPos
);
3799
int pos =
_tokDataPos
;
3808
int pos =
_tokDataPos
;
3817
long time = GetInt64(
_tokDataPos
);
3823
long time = GetInt64(
_tokDataPos
);
3829
long time = GetInt64(
_tokDataPos
);
3834
return BinXmlDateTime.XsdKatmaiDateToDateTime(_data,
_tokDataPos
);
3837
return BinXmlDateTime.XsdKatmaiDateTimeToDateTime(_data,
_tokDataPos
);
3840
return BinXmlDateTime.XsdKatmaiTimeToDateTime(_data,
_tokDataPos
);
3843
return BinXmlDateTime.XsdKatmaiDateOffsetToDateTime(_data,
_tokDataPos
);
3846
return BinXmlDateTime.XsdKatmaiDateTimeOffsetToDateTime(_data,
_tokDataPos
);
3849
return BinXmlDateTime.XsdKatmaiTimeOffsetToDateTime(_data,
_tokDataPos
);
3862
return BinXmlDateTime.XsdKatmaiDateOffsetToDateTimeOffset(_data,
_tokDataPos
);
3865
return BinXmlDateTime.XsdKatmaiDateTimeOffsetToDateTimeOffset(_data,
_tokDataPos
);
3868
return BinXmlDateTime.XsdKatmaiTimeOffsetToDateTimeOffset(_data,
_tokDataPos
);
3883
int pos =
_tokDataPos
;
3892
int pos =
_tokDataPos
;
3901
long time = GetInt64(
_tokDataPos
);
3907
long time = GetInt64(
_tokDataPos
);
3913
long time = GetInt64(
_tokDataPos
);
3918
return BinXmlDateTime.XsdKatmaiDateToString(_data,
_tokDataPos
);
3921
return BinXmlDateTime.XsdKatmaiDateTimeToString(_data,
_tokDataPos
);
3924
return BinXmlDateTime.XsdKatmaiTimeToString(_data,
_tokDataPos
);
3927
return BinXmlDateTime.XsdKatmaiDateOffsetToString(_data,
_tokDataPos
);
3930
return BinXmlDateTime.XsdKatmaiDateTimeOffsetToString(_data,
_tokDataPos
);
3933
return BinXmlDateTime.XsdKatmaiTimeOffsetToString(_data,
_tokDataPos
);
3950
return GetString(
_tokDataPos
, _tokLen);
3954
if (0 == _data[
_tokDataPos
])
3974
return XmlConvert.ToString(GetSingle(
_tokDataPos
));
3977
return XmlConvert.ToString(GetDouble(
_tokDataPos
));
3982
int pos =
_tokDataPos
;
3992
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt32(
_tokDataPos
));
3997
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt64(
_tokDataPos
));
4005
BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data,
_tokDataPos
, token == BinXmlToken.XSD_DECIMAL);
4013
int pos =
_tokDataPos
;
4025
return Convert.ToBase64String(_data,
_tokDataPos
, _tokLen);
4029
return BinHexEncoder.Encode(_data,
_tokDataPos
, _tokLen);
4046
int nameNum = ParseMB32(
_tokDataPos
);
4075
return GetString(
_tokDataPos
, _tokLen);
4078
return (0 != _data[
_tokDataPos
]);
4081
return (Int32)_data[
_tokDataPos
];
4084
return _data[
_tokDataPos
];
4087
return GetInt16(
_tokDataPos
);
4090
return GetInt32(
_tokDataPos
);
4093
return GetInt64(
_tokDataPos
);
4097
sbyte v = unchecked((sbyte)_data[
_tokDataPos
]);
4102
return GetUInt16(
_tokDataPos
);
4105
return GetUInt32(
_tokDataPos
);
4108
return GetUInt64(
_tokDataPos
);
4111
return GetSingle(
_tokDataPos
);
4114
return GetDouble(
_tokDataPos
);
4119
int pos =
_tokDataPos
;
4129
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt32(
_tokDataPos
));
4138
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt64(
_tokDataPos
));
4149
BinXmlSqlDecimal v = new BinXmlSqlDecimal(_data,
_tokDataPos
, token == BinXmlToken.XSD_DECIMAL);
4160
int pos =
_tokDataPos
;
4174
Array.Copy(_data,
_tokDataPos
, data, 0, _tokLen);
4195
int nameNum = ParseMB32(
_tokDataPos
);
4223
GetString(
_tokDataPos
, _tokLen),
4229
(0 != _data[
_tokDataPos
]),
4235
(Int32)_data[
_tokDataPos
],
4241
_data[
_tokDataPos
],
4247
int v = GetInt16(
_tokDataPos
);
4254
int v = GetInt32(
_tokDataPos
);
4261
long v = GetInt64(
_tokDataPos
);
4269
(int)unchecked((sbyte)_data[
_tokDataPos
]),
4275
int v = GetUInt16(
_tokDataPos
);
4282
long v = GetUInt32(
_tokDataPos
);
4289
Decimal v = (Decimal)GetUInt64(
_tokDataPos
);
4296
Single v = GetSingle(
_tokDataPos
);
4303
Double v = GetDouble(
_tokDataPos
);
4315
(new BinXmlSqlMoney(GetInt32(
_tokDataPos
))).ToDecimal(),
4321
(new BinXmlSqlMoney(GetInt64(
_tokDataPos
))).ToDecimal(),
4329
(new BinXmlSqlDecimal(_data,
_tokDataPos
, token == BinXmlToken.XSD_DECIMAL)).ToDecimal(),
4337
int pos =
_tokDataPos
;
4354
Array.Copy(_data,
_tokDataPos
, data, 0, _tokLen);
4393
int nameNum = ParseMB32(
_tokDataPos
);