18 writes to tokDataPos
System.Xml (18)
System\Xml\BinaryXml\XmlBinaryReader.cs (18)
1776
this.
tokDataPos
-= mark;
1791
this.
tokDataPos
-= end;
2775
this.tokLen = ScanText(out this.
tokDataPos
);
2778
this.tokLen = this.
tokDataPos
= 0;
2787
this.tokLen = ScanText(out this.
tokDataPos
);
2794
this.tokLen = ScanText(out this.
tokDataPos
);
2801
this.tokLen = ScanText(out this.
tokDataPos
);
2955
this.
tokDataPos
= this.pos;
2985
this.
tokDataPos
= this.pos;
2992
this.
tokDataPos
= this.pos;
3002
this.
tokDataPos
= this.pos;
3015
this.
tokDataPos
= this.pos;
3021
this.
tokDataPos
= this.pos;
3029
this.
tokDataPos
= this.pos;
3041
this.
tokDataPos
= this.pos;
3049
this.
tokDataPos
= this.pos;
3066
this.
tokDataPos
= this.pos;
3077
this.
tokDataPos
= this.pos;
100 references to tokDataPos
System.Xml (100)
System\Xml\BinaryXml\XmlBinaryReader.cs (100)
456
return this.stringValue = GetString(this.
tokDataPos
, this.tokLen);
937
value = 0 != this.data[this.
tokDataPos
];
2419
String value = GetString(this.
tokDataPos
, this.tokLen);
3093
Debug.Assert(0 == ((this.pos - this.
tokDataPos
) & 1), "Data size should not be odd");
3099
int pos = this.
tokDataPos
;
3146
Debug.Assert(0 == ((this.pos - this.
tokDataPos
) & 1), "Data size should not be odd");
3147
for (int pos = this.
tokDataPos
; pos < this.pos; pos += 2) {
3168
if ((this.end - this.
tokDataPos
) < this.tokLen)
3208
byte v = this.data[this.
tokDataPos
];
3213
sbyte v = unchecked((sbyte)this.data[this.
tokDataPos
]);
3218
return GetInt16(this.
tokDataPos
);
3221
return GetInt32(this.
tokDataPos
);
3224
return GetInt64(this.
tokDataPos
);
3227
return GetUInt16(this.
tokDataPos
);
3230
return GetUInt32(this.
tokDataPos
);
3233
ulong v = GetUInt64(this.
tokDataPos
);
3260
return GetUInt64(this.
tokDataPos
);
3284
return new Decimal(GetSingle(this.
tokDataPos
));
3287
return new Decimal(GetDouble(this.
tokDataPos
));
3290
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt32(this.
tokDataPos
));
3294
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt64(this.
tokDataPos
));
3301
BinXmlSqlDecimal v = new BinXmlSqlDecimal(this.data, this.
tokDataPos
, token == BinXmlToken.XSD_DECIMAL);
3327
return GetSingle(this.
tokDataPos
);
3330
return GetDouble(this.
tokDataPos
);
3348
int pos = this.
tokDataPos
;
3356
int pos = this.
tokDataPos
;
3364
long time = GetInt64(this.
tokDataPos
);
3369
long time = GetInt64(this.
tokDataPos
);
3374
long time = GetInt64(this.
tokDataPos
);
3379
return BinXmlDateTime.XsdKatmaiDateToDateTime(this.data, this.
tokDataPos
);
3382
return BinXmlDateTime.XsdKatmaiDateTimeToDateTime(this.data, this.
tokDataPos
);
3385
return BinXmlDateTime.XsdKatmaiTimeToDateTime(this.data, this.
tokDataPos
);
3388
return BinXmlDateTime.XsdKatmaiDateOffsetToDateTime(this.data, this.
tokDataPos
);
3391
return BinXmlDateTime.XsdKatmaiDateTimeOffsetToDateTime(this.data, this.
tokDataPos
);
3394
return BinXmlDateTime.XsdKatmaiTimeOffsetToDateTime(this.data, this.
tokDataPos
);
3405
return BinXmlDateTime.XsdKatmaiDateOffsetToDateTimeOffset(this.data, this.
tokDataPos
);
3408
return BinXmlDateTime.XsdKatmaiDateTimeOffsetToDateTimeOffset(this.data, this.
tokDataPos
);
3411
return BinXmlDateTime.XsdKatmaiTimeOffsetToDateTimeOffset(this.data, this.
tokDataPos
);
3423
int pos = this.
tokDataPos
;
3431
int pos = this.
tokDataPos
;
3439
long time = GetInt64(this.
tokDataPos
);
3444
long time = GetInt64(this.
tokDataPos
);
3449
long time = GetInt64(this.
tokDataPos
);
3454
return BinXmlDateTime.XsdKatmaiDateToString(this.data, this.
tokDataPos
);
3457
return BinXmlDateTime.XsdKatmaiDateTimeToString(this.data, this.
tokDataPos
);
3460
return BinXmlDateTime.XsdKatmaiTimeToString(this.data, this.
tokDataPos
);
3463
return BinXmlDateTime.XsdKatmaiDateOffsetToString(this.data, this.
tokDataPos
);
3466
return BinXmlDateTime.XsdKatmaiDateTimeOffsetToString(this.data, this.
tokDataPos
);
3469
return BinXmlDateTime.XsdKatmaiTimeOffsetToString(this.data, this.
tokDataPos
);
3483
return GetString( this.
tokDataPos
, this.tokLen );
3486
if ( 0 == this.data[this.
tokDataPos
] )
3506
return XmlConvert.ToString( GetSingle( this.
tokDataPos
) );
3509
return XmlConvert.ToString( GetDouble( this.
tokDataPos
) );
3513
int pos = this.
tokDataPos
;
3522
BinXmlSqlMoney v = new BinXmlSqlMoney( GetInt32( this.
tokDataPos
) );
3526
BinXmlSqlMoney v = new BinXmlSqlMoney( GetInt64( this.
tokDataPos
) );
3533
BinXmlSqlDecimal v = new BinXmlSqlDecimal( this.data, this.
tokDataPos
, token == BinXmlToken.XSD_DECIMAL );
3540
int pos = this.
tokDataPos
;
3551
return Convert.ToBase64String( this.data, this.
tokDataPos
, this.tokLen );
3555
return BinHexEncoder.Encode( this.data, this.
tokDataPos
, this.tokLen );
3571
int nameNum = ParseMB32( this.
tokDataPos
);
3597
return GetString(this.
tokDataPos
, this.tokLen);
3600
return (0 != this.data[this.
tokDataPos
]);
3603
return (Int32)this.data[this.
tokDataPos
];
3606
return this.data[this.
tokDataPos
];
3609
return GetInt16(this.
tokDataPos
);
3612
return GetInt32(this.
tokDataPos
);
3615
return GetInt64(this.
tokDataPos
);
3618
sbyte v = unchecked((sbyte)this.data[this.
tokDataPos
]);
3623
return GetUInt16(this.
tokDataPos
);
3626
return GetUInt32(this.
tokDataPos
);
3629
return GetUInt64(this.
tokDataPos
);
3632
return GetSingle(this.
tokDataPos
);
3635
return GetDouble(this.
tokDataPos
);
3639
int pos = this.
tokDataPos
;
3648
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt32(this.
tokDataPos
));
3656
BinXmlSqlMoney v = new BinXmlSqlMoney(GetInt64(this.
tokDataPos
));
3666
BinXmlSqlDecimal v = new BinXmlSqlDecimal(this.data, this.
tokDataPos
, token == BinXmlToken.XSD_DECIMAL);
3676
int pos = this.
tokDataPos
;
3689
Array.Copy(this.data, this.
tokDataPos
, data, 0, this.tokLen);
3709
int nameNum = ParseMB32(this.
tokDataPos
);
3734
GetString(this.
tokDataPos
, this.tokLen),
3740
(0 != this.data[this.
tokDataPos
]),
3746
(Int32)this.data[this.
tokDataPos
],
3752
this.data[this.
tokDataPos
],
3757
int v = GetInt16(this.
tokDataPos
);
3763
int v = GetInt32(this.
tokDataPos
);
3769
long v = GetInt64(this.
tokDataPos
);
3776
(int)unchecked((sbyte)this.data[this.
tokDataPos
]),
3781
int v = GetUInt16(this.
tokDataPos
);
3787
long v = GetUInt32(this.
tokDataPos
);
3793
Decimal v = (Decimal)GetUInt64(this.
tokDataPos
);
3799
Single v = GetSingle(this.
tokDataPos
);
3805
Double v = GetDouble(this.
tokDataPos
);
3817
(new BinXmlSqlMoney(GetInt32(this.
tokDataPos
))).ToDecimal(),
3823
(new BinXmlSqlMoney(GetInt64(this.
tokDataPos
))).ToDecimal(),
3831
(new BinXmlSqlDecimal(this.data, this.
tokDataPos
, token == BinXmlToken.XSD_DECIMAL)).ToDecimal(),
3838
int pos = this.
tokDataPos
;
3854
Array.Copy(this.data, this.
tokDataPos
, data, 0, this.tokLen);
3892
int nameNum = ParseMB32(this.
tokDataPos
);