20 references to Allocate
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SyntaxListPool.cs (2)
48return new SyntaxListBuilder<TNode>(this.Allocate()); 53return new SeparatedSyntaxListBuilder<TNode>(this.Allocate());
Microsoft.CodeAnalysis.CSharp (18)
Parser\DocumentationCommentParser.cs (2)
105var textTokens = _pool.Allocate(); 189var textTokens = _pool.Allocate();
Parser\LanguageParser.cs (16)
391initialBadNodes = _pool.Allocate(); 593var modifiers = _pool.Allocate(); 2023var tokens = _pool.Allocate(); 2536var modifiers = _pool.Allocate(); 3107var modifiers = _pool.Allocate(); 4462var nodes = _pool.Allocate(); 4488var nodes = _pool.Allocate(); 4517var accMods = _pool.Allocate(); 4821var modifiers = _pool.Allocate(); 9494var skippedTokens = _pool.Allocate(); 10277var mods = _pool.Allocate(); 10745badBuilder = _pool.Allocate(); 12523SyntaxListBuilder modifiers = _pool.Allocate(); 13335var commas = _pool.Allocate(); 13510var modifiers = _pool.Allocate(); 13701SyntaxListBuilder modifiers = _pool.Allocate();