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