2 writes to _currentPageNumber
Microsoft.Build.Tasks.Core (2)
StreamMappedString.cs (2)
97_currentPageNumber = -1; 239++_currentPageNumber;
12 references to _currentPageNumber
Microsoft.Build.Tasks.Core (12)
StreamMappedString.cs (12)
179if (page < _currentPageNumber - 1) 186while (page > _currentPageNumber) 188int originalPageNumber = _currentPageNumber; 195ErrorUtilities.VerifyThrow(originalPageNumber != _currentPageNumber, "Expected a new page."); 199if (page == _currentPageNumber) 212if (page == _currentPageNumber - 1) 228if (_currentPageNumber == _finalPageNumber) 246_finalPageNumber = _currentPageNumber; 331return _charactersRead == 0 && _currentPageNumber == 0; 404ErrorUtilities.VerifyThrow(page >= _currentPageNumber - 1 && page <= _currentPageNumber, "Could not get character count for this page."); 406if (page == _currentPageNumber)