3 writes to _characterWindowCount
Microsoft.CodeAnalysis.CSharp (3)
Parser\SlidingTextWindow.cs (3)
189_characterWindowCount = amountToRead; 211_characterWindowCount -= _lexemeStart; 233_characterWindowCount += amountToRead;
14 references to _characterWindowCount
Microsoft.CodeAnalysis.CSharp (14)
Parser\SlidingTextWindow.cs (14)
133return _characterWindowCount; 172if (relative >= 0 && relative <= _characterWindowCount) 195if (_offset >= _characterWindowCount) 204if (_lexemeStart > (_characterWindowCount / 4)) 210_characterWindowCount - _lexemeStart); 217if (_characterWindowCount >= _characterWindow.Length) 222Array.Copy(oldWindow, 0, newWindow, 0, _characterWindowCount); 227int amountToRead = Math.Min(_textEnd - (_basis + _characterWindowCount), 228_characterWindow.Length - _characterWindowCount); 229_text.CopyTo(_basis + _characterWindowCount, 231_characterWindowCount, 249return _offset >= _characterWindowCount && Position >= _textEnd; 335if (_offset >= _characterWindowCount 358if (_offset >= _characterWindowCount