21 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 (19)
Parser\DocumentationCommentParser.cs (2)
105
var textTokens = _pool.
Allocate
();
189
var textTokens = _pool.
Allocate
();
Parser\LanguageParser.cs (17)
391
initialBadNodes = _pool.
Allocate
();
593
var modifiers = _pool.
Allocate
();
2113
var tokens = _pool.
Allocate
();
2619
var modifiers = _pool.
Allocate
();
3261
var modifiers = _pool.
Allocate
();
4455
var modifiers = _pool.
Allocate
();
4597
var nodes = _pool.
Allocate
();
4623
var nodes = _pool.
Allocate
();
4652
var accMods = _pool.
Allocate
();
4958
var modifiers = _pool.
Allocate
();
9711
var skippedTokens = _pool.
Allocate
();
10527
var mods = _pool.
Allocate
();
10998
badBuilder = _pool.
Allocate
();
12806
SyntaxListBuilder modifiers = _pool.
Allocate
();
13645
var commas = _pool.
Allocate
();
13809
var modifiers = _pool.
Allocate
();
13991
SyntaxListBuilder modifiers = _pool.
Allocate
();