8 writes to Offset
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
1001
BufferReader.
Offset
= elementOffset;
System\Xml\XmlBinaryReader.cs (3)
352
BufferReader.
Offset
= offset;
914
BufferReader.
Offset
= BufferReader.Offset - byteCount;
979
BufferReader.
Offset
= BufferReader.Offset - byteCount;
System\Xml\XmlBufferReader.cs (2)
1015
this.
Offset
= offset;
1031
this.
Offset
= bufferOffset;
System\Xml\XmlUTF8TextReader.cs (2)
937
BufferReader.
Offset
= elementOffset;
1095
BufferReader.
Offset
= charEntityOffset;
37 references to Offset
System.Private.DataContractSerialization (37)
System\Runtime\Serialization\Json\XmlJsonReader.cs (6)
956
int elementOffset = BufferReader.
Offset
;
1044
elementNode.NameOffset = BufferReader.
Offset
;
1058
int actualOffset = BufferReader.
Offset
- 1; // -1 to ignore " at end of local name
1294
elementNode.BufferOffset = BufferReader.
Offset
;
1368
offset = BufferReader.
Offset
;
1464
attribute.Value.SetValue(ValueHandleType.UTF8, offset, BufferReader.
Offset
- 1 - offset);
System\Xml\XmlBinaryReader.cs (11)
302
int offset = BufferReader.
Offset
;
431
elementNode.BufferOffset = BufferReader.
Offset
;
439
elementNode.BufferOffset = BufferReader.
Offset
;
447
elementNode.BufferOffset = BufferReader.
Offset
;
455
elementNode.BufferOffset = BufferReader.
Offset
;
489
elementNode.BufferOffset = BufferReader.
Offset
;
523
elementNode.BufferOffset = BufferReader.
Offset
;
721
startOffset = BufferReader.
Offset
;
855
if (_buffered && (BufferReader.
Offset
- startOffset) > _maxBytesPerRead)
914
BufferReader.Offset = BufferReader.
Offset
- byteCount;
979
BufferReader.Offset = BufferReader.
Offset
- byteCount;
System\Xml\XmlBufferReader.cs (2)
1014
int bufferOffset = this.
Offset
;
1203
int offset = this.
Offset
;
System\Xml\XmlUTF8TextReader.cs (18)
628
int valueOffset = BufferReader.
Offset
;
631
int valueLength = BufferReader.
Offset
- valueOffset;
760
startOffset = BufferReader.
Offset
;
783
int valueOffset = BufferReader.
Offset
;
816
int valueLength = BufferReader.
Offset
- valueOffset;
869
if (_buffered && (BufferReader.
Offset
- startOffset) > _maxBytesPerRead)
906
int elementOffset = BufferReader.
Offset
;
945
elementNode.NameOffset = BufferReader.
Offset
;
947
elementNode.NameLength = BufferReader.
Offset
- elementNode.NameOffset;
971
elementNode.BufferOffset = BufferReader.
Offset
;
1007
int commentOffset = BufferReader.
Offset
;
1039
int commentLength = BufferReader.
Offset
- commentOffset;
1059
int cdataOffset = BufferReader.
Offset
;
1081
int cdataLength = BufferReader.
Offset
- cdataOffset;
1089
int charEntityOffset = BufferReader.
Offset
;
1094
int charEntityLength = BufferReader.
Offset
- charEntityOffset;
1173
if (BufferReader.
Offset
< offset)
1420
int offset = BufferReader.
Offset
;