8 writes to offset
System.Runtime.Serialization (8)
System\Xml\XmlBufferReader.cs (8)
91this.offset = offset; 109this.offset = 0; 249this.offset += count; 281offset = windowOffset; 296this.offset = value; 306this.offset += count; 565byte[] _buffer = GetBuffer(chunk, out offset); 577byte[] buffer = GetBuffer(length, out offset);
23 references to offset
System.Runtime.Serialization (23)
System\Xml\XmlBufferReader.cs (23)
121return offset == offsetMax && !TryEnsureByte(); 127int offset = this.offset; 142return buffer[offset]; 147offset = this.offset; 155offset = this.offset; 158offsetMax = this.offset + count; 170offset = this.offset; 177offset = this.offset; 213if (offset > int.MaxValue - count) 215int newOffsetMax = offset + count; 248Fx.Assert(this.offset + count <= offsetMax, ""); 262System.Buffer.BlockCopy(this.buffer, this.offset, this.buffer, this.offset + count, this.offsetMax - this.offset); 264System.Buffer.BlockCopy(buffer, offset, this.buffer, this.offset, count); 277if (offset != windowOffset) 279System.Buffer.BlockCopy(buffer, offset, buffer, windowOffset, offsetMax - offset); 280offsetMax = windowOffset + (offsetMax - offset); 291return offset; 303int offset = this.offset; 568*dst++ = _buffer[offset + i]; 578fixed (byte* _src = &buffer[offset])