21 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 (19)
Parser\DocumentationCommentParser.cs (2)
105var textTokens = _pool.Allocate(); 189var textTokens = _pool.Allocate();
Parser\LanguageParser.cs (17)
391initialBadNodes = _pool.Allocate(); 593var modifiers = _pool.Allocate(); 2102var tokens = _pool.Allocate(); 2608var modifiers = _pool.Allocate(); 3250var modifiers = _pool.Allocate(); 4444var modifiers = _pool.Allocate(); 4586var nodes = _pool.Allocate(); 4612var nodes = _pool.Allocate(); 4641var accMods = _pool.Allocate(); 4947var modifiers = _pool.Allocate(); 9687var skippedTokens = _pool.Allocate(); 10503var mods = _pool.Allocate(); 10974badBuilder = _pool.Allocate(); 12782SyntaxListBuilder modifiers = _pool.Allocate(); 13624var commas = _pool.Allocate(); 13788var modifiers = _pool.Allocate(); 14013SyntaxListBuilder modifiers = _pool.Allocate();