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