8 writes to _offset
dotnet-svcutil-lib (8)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBufferReader.cs (8)
97
_offset
= offset;
115
_offset
= 0;
245
_offset
+= count;
277
_offset
= windowOffset;
292
_offset
= value;
302
_offset
+= count;
550
byte[] _buffer = GetBuffer(chunk, out
_offset
);
562
byte[] buffer = GetBuffer(length, out
_offset
);
23 references to _offset
dotnet-svcutil-lib (23)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBufferReader.cs (23)
127
return
_offset
== _offsetMax && !TryEnsureByte();
133
int offset =
_offset
;
148
return _buffer[
_offset
];
153
offset =
_offset
;
161
offset =
_offset
;
164
offsetMax =
_offset
+ count;
176
offset =
_offset
;
183
offset =
_offset
;
218
DiagnosticUtility.DebugAssert(
_offset
<= int.MaxValue - count, "");
219
int newOffsetMax =
_offset
+ count;
244
DiagnosticUtility.DebugAssert(
_offset
+ count <= _offsetMax, "");
258
System.Buffer.BlockCopy(_buffer,
_offset
, _buffer,
_offset
+ count, _offsetMax -
_offset
);
260
System.Buffer.BlockCopy(buffer, offset, _buffer,
_offset
, count);
273
if (
_offset
!= windowOffset)
275
System.Buffer.BlockCopy(_buffer,
_offset
, _buffer, windowOffset, _offsetMax -
_offset
);
276
_offsetMax = windowOffset + (_offsetMax -
_offset
);
287
return
_offset
;
299
int offset =
_offset
;
553
*dst++ = _buffer[
_offset
+ i];
563
fixed (byte* _src = &buffer[
_offset
])