6 writes to _offsetMax
dotnet-svcutil-lib (6)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBufferReader.cs (6)
98
_offsetMax
= offset + count;
116
_offsetMax
= 0;
204
_buffer[
_offsetMax
++] = (byte)b;
236
_offsetMax
+= actual;
259
_offsetMax
+= count;
276
_offsetMax
= windowOffset + (_offsetMax - _offset);
24 references to _offsetMax
dotnet-svcutil-lib (24)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBufferReader.cs (24)
127
return _offset ==
_offsetMax
&& !TryEnsureByte();
134
if (offset <
_offsetMax
)
154
if (offset <=
_offsetMax
- count)
162
if (offset <=
_offsetMax
- count)
169
offsetMax =
_offsetMax
;
177
offsetMax =
_offsetMax
;
198
DiagnosticUtility.DebugAssert(
_offsetMax
< _windowOffsetMax, "");
199
if (
_offsetMax
>= _buffer.Length)
220
if (newOffsetMax <
_offsetMax
)
226
System.Buffer.BlockCopy(_buffer, 0, newBuffer, 0,
_offsetMax
);
230
int needed = newOffsetMax -
_offsetMax
;
233
int actual = _stream.Read(_buffer,
_offsetMax
, needed);
244
DiagnosticUtility.DebugAssert(_offset + count <=
_offsetMax
, "");
251
if (
_offsetMax
> buffer.Length - count)
253
byte[] newBuffer = new byte[
_offsetMax
+ count];
254
System.Buffer.BlockCopy(_buffer, 0, newBuffer, 0,
_offsetMax
);
258
System.Buffer.BlockCopy(_buffer, _offset, _buffer, _offset + count,
_offsetMax
- _offset);
275
System.Buffer.BlockCopy(_buffer, _offset, _buffer, windowOffset,
_offsetMax
- _offset);
276
_offsetMax = windowOffset + (
_offsetMax
- _offset);
280
_windowOffsetMax = Math.Max(windowOffset + windowLength,
_offsetMax
);
291
DiagnosticUtility.DebugAssert(value >= _offsetMin && value <=
_offsetMax
, "");
300
if (offset >
_offsetMax
- count)
1385
for (int i = _offsetMin; i <
_offsetMax
; i++)
1389
if (i + 1 <
_offsetMax
&& _buffer[i + 1] == (byte)10)