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