4 references to DefaultWindowLength
Microsoft.CodeAnalysis.CSharp (4)
Parser\SlidingTextWindow.cs (4)
21/// almost always move forward a 'chunk' (<see cref="DefaultWindowLength"/>) at a time. However, the buffer 60private static readonly ObjectPool<char[]> s_windowPool = new ObjectPool<char[]>(() => new char[DefaultWindowLength]); 85/// The length of this will normally be <see cref="DefaultWindowLength"/>, but may be smaller if we are at the end of the file 139var amountToRead = Math.Min(_textEnd - position, DefaultWindowLength);