3 references to CachedTokenArraySize
Microsoft.CodeAnalysis.CSharp (3)
Parser\SyntaxParser.cs (3)
39private static readonly ObjectPool<ArrayElement<SyntaxToken>[]> s_lexedTokensPool = new ObjectPool<ArrayElement<SyntaxToken>[]>(() => new ArrayElement<SyntaxToken>[CachedTokenArraySize], 2); 141var size = Math.Min(CachedTokenArraySize, this.lexer.TextWindow.Text.Length / 2); 457if (lexedTokens.Length == CachedTokenArraySize)