5 writes to _charactersRead
Microsoft.Build.Tasks.Core (5)
StreamMappedString.cs (5)
98
_charactersRead
= 0;
269
_charactersRead
= _reader.ReadBlock(_priorPage, 0, _pageSize);
276
_charactersRead
+= _reader.ReadBlock(_priorPage, _charactersRead - 1, 1);
279
--
_charactersRead
;
293
++
_charactersRead
;
12 references to _charactersRead
Microsoft.Build.Tasks.Core (12)
StreamMappedString.cs (12)
202
if (
_charactersRead
> AbsoluteOffsetToPageOffset(offset))
243
if (
_charactersRead
< _pageSize)
255
return
_charactersRead
> 0;
271
for (int i = 0; i <
_charactersRead
; ++i)
275
Array.Copy(_priorPage, i + 1, _priorPage, i,
_charactersRead
- i - 1);
276
_charactersRead += _reader.ReadBlock(_priorPage,
_charactersRead
- 1, 1);
290
ErrorUtilities.VerifyThrow(
_charactersRead
!= _pageSize, "Attempt to append to non-last page.");
292
_currentPage[
_charactersRead
] = c;
303
if (
_charactersRead
== 0)
310
c = _currentPage[
_charactersRead
- 1];
331
return
_charactersRead
== 0 && _currentPageNumber == 0;
408
return
_charactersRead
;