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(); 3106var modifiers = _pool.Allocate(); 4433var nodes = _pool.Allocate(); 4459var nodes = _pool.Allocate(); 4488var accMods = _pool.Allocate(); 4793var modifiers = _pool.Allocate(); 9410var skippedTokens = _pool.Allocate(); 10193var mods = _pool.Allocate(); 10663badBuilder = _pool.Allocate(); 12441SyntaxListBuilder modifiers = _pool.Allocate(); 13253var commas = _pool.Allocate(); 13428var modifiers = _pool.Allocate(); 13619SyntaxListBuilder modifiers = _pool.Allocate();