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(); 2113var tokens = _pool.Allocate(); 2619var modifiers = _pool.Allocate(); 3261var modifiers = _pool.Allocate(); 4455var modifiers = _pool.Allocate(); 4597var nodes = _pool.Allocate(); 4623var nodes = _pool.Allocate(); 4652var accMods = _pool.Allocate(); 4958var modifiers = _pool.Allocate(); 9711var skippedTokens = _pool.Allocate(); 10527var mods = _pool.Allocate(); 10998badBuilder = _pool.Allocate(); 12806SyntaxListBuilder modifiers = _pool.Allocate(); 13645var commas = _pool.Allocate(); 13809var modifiers = _pool.Allocate(); 13991SyntaxListBuilder modifiers = _pool.Allocate();