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(); 2078var tokens = _pool.Allocate(); 2605var modifiers = _pool.Allocate(); 3242var modifiers = _pool.Allocate(); 4604var nodes = _pool.Allocate(); 4630var nodes = _pool.Allocate(); 4659var accMods = _pool.Allocate(); 4965var modifiers = _pool.Allocate(); 9709var skippedTokens = _pool.Allocate(); 10525var mods = _pool.Allocate(); 10992badBuilder = _pool.Allocate(); 12787SyntaxListBuilder modifiers = _pool.Allocate(); 13626var commas = _pool.Allocate(); 13790var modifiers = _pool.Allocate(); 13972SyntaxListBuilder modifiers = _pool.Allocate();