6 writes to bytesUsed
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (5)
2911
_ps.
bytesUsed
= byteCount;
2949
_ps.
bytesUsed
+= read;
3479
_ps.
bytesUsed
= 0;
3484
_ps.
bytesUsed
= bytesLeft;
3504
_ps.
bytesUsed
+= read;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImplHelpers.cs (1)
81
bytesUsed
= 0;
16 references to bytesUsed
dotnet-svcutil-lib (16)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (16)
2941
while (_ps.
bytesUsed
< 4 && _ps.bytes.Length - _ps.
bytesUsed
> 0)
2943
int read = stream.Read(_ps.bytes, _ps.
bytesUsed
, _ps.bytes.Length - _ps.
bytesUsed
);
2963
for (i = 0; i < preambleLen && i < _ps.
bytesUsed
; i++)
3169
if (_ps.
bytesUsed
< 2)
3174
int next2Bytes = (_ps.
bytesUsed
>= 4) ? (_ps.bytes[2] << 8 | _ps.bytes[3]) : 0;
3423
if (_ps.
bytesUsed
- _ps.bytePos < MaxByteSequenceLen)
3425
if (_ps.bytes.Length - _ps.
bytesUsed
< MaxByteSequenceLen)
3428
BlockCopy(_ps.bytes, 0, newBytes, 0, _ps.
bytesUsed
);
3474
int bytesLeft = _ps.
bytesUsed
- _ps.bytePos;
3497
if (_ps.bytePos == _ps.
bytesUsed
&& _ps.bytes.Length - _ps.
bytesUsed
> 0)
3499
int read = _ps.stream.Read(_ps.bytes, _ps.
bytesUsed
, _ps.bytes.Length - _ps.
bytesUsed
);
3547
int bytesCount = _ps.
bytesUsed
- _ps.bytePos;