20 references to Allocate
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SyntaxListPool.cs (2)
48
return new SyntaxListBuilder<TNode>(this.
Allocate
());
53
return new SeparatedSyntaxListBuilder<TNode>(this.
Allocate
());
Microsoft.CodeAnalysis.CSharp (18)
Parser\DocumentationCommentParser.cs (2)
105
var textTokens = _pool.
Allocate
();
189
var textTokens = _pool.
Allocate
();
Parser\LanguageParser.cs (16)
391
initialBadNodes = _pool.
Allocate
();
593
var modifiers = _pool.
Allocate
();
2023
var tokens = _pool.
Allocate
();
2536
var modifiers = _pool.
Allocate
();
3106
var modifiers = _pool.
Allocate
();
4433
var nodes = _pool.
Allocate
();
4459
var nodes = _pool.
Allocate
();
4488
var accMods = _pool.
Allocate
();
4793
var modifiers = _pool.
Allocate
();
9410
var skippedTokens = _pool.
Allocate
();
10193
var mods = _pool.
Allocate
();
10663
badBuilder = _pool.
Allocate
();
12441
SyntaxListBuilder modifiers = _pool.
Allocate
();
13253
var commas = _pool.
Allocate
();
13428
var modifiers = _pool.
Allocate
();
13619
SyntaxListBuilder modifiers = _pool.
Allocate
();