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(); 2097var tokens = _pool.Allocate(); 2624var modifiers = _pool.Allocate(); 3266var modifiers = _pool.Allocate(); 4628var nodes = _pool.Allocate(); 4654var nodes = _pool.Allocate(); 4683var accMods = _pool.Allocate(); 4989var modifiers = _pool.Allocate(); 9751var skippedTokens = _pool.Allocate(); 10567var mods = _pool.Allocate(); 11038badBuilder = _pool.Allocate(); 12846SyntaxListBuilder modifiers = _pool.Allocate(); 13685var commas = _pool.Allocate(); 13849var modifiers = _pool.Allocate(); 14031SyntaxListBuilder modifiers = _pool.Allocate();