3 writes to _characterWindowCount
Microsoft.CodeAnalysis.CSharp (3)
Parser\SlidingTextWindow.cs (3)
193_characterWindowCount = amountToRead; 215_characterWindowCount -= _lexemeStart; 237_characterWindowCount += amountToRead;
14 references to _characterWindowCount
Microsoft.CodeAnalysis.CSharp (14)
Parser\SlidingTextWindow.cs (14)
137return _characterWindowCount; 176if (relative >= 0 && relative <= _characterWindowCount) 199if (_offset >= _characterWindowCount) 208if (_lexemeStart > (_characterWindowCount / 4)) 214_characterWindowCount - _lexemeStart); 221if (_characterWindowCount >= _characterWindow.Length) 226Array.Copy(oldWindow, 0, newWindow, 0, _characterWindowCount); 231int amountToRead = Math.Min(_textEnd - (_basis + _characterWindowCount), 232_characterWindow.Length - _characterWindowCount); 233_text.CopyTo(_basis + _characterWindowCount, 235_characterWindowCount, 253return _offset >= _characterWindowCount && Position >= _textEnd; 339if (_offset >= _characterWindowCount 362if (_offset >= _characterWindowCount