2 instantiations of SeparatedSyntaxListBuilder
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (1)
23
return new
SeparatedSyntaxListBuilder
<TNode>(8);
Syntax\InternalSyntax\SyntaxListPool.cs (1)
53
return new
SeparatedSyntaxListBuilder
<TNode>(this.Allocate());
30 references to SeparatedSyntaxListBuilder
Microsoft.CodeAnalysis (7)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (4)
21
public static
SeparatedSyntaxListBuilder
<TNode> Create()
70
public
SeparatedSyntaxListBuilder
<TNode> Add(TNode node)
123
public static implicit operator SeparatedSyntaxList<TNode>(in
SeparatedSyntaxListBuilder
<TNode> builder)
128
public static implicit operator SyntaxListBuilder?(in
SeparatedSyntaxListBuilder
<TNode> builder)
Syntax\InternalSyntax\SyntaxListPool.cs (3)
51
internal
SeparatedSyntaxListBuilder
<TNode> AllocateSeparated<TNode>() where TNode : GreenNode
56
internal void Free<TNode>(in
SeparatedSyntaxListBuilder
<TNode> item) where TNode : GreenNode
98
public SeparatedSyntaxList<TNode> ToListAndFree<TNode>(in
SeparatedSyntaxListBuilder
<TNode> item)
Microsoft.CodeAnalysis.CSharp (23)
Parser\DocumentationCommentParser.cs (3)
1186
var
list = _pool.AllocateSeparated<CrefParameterSyntax>();
1295
var
list = _pool.AllocateSeparated<TypeSyntax>();
1463
var
dimensionList = _pool.AllocateSeparated<ExpressionSyntax>();
Parser\LanguageParser.cs (19)
2064
var
list = _pool.AllocateSeparated<BaseTypeSyntax>();
2149
var
bounds = _pool.AllocateSeparated<TypeParameterConstraintSyntax>();
2287
var
bounds = _pool.AllocateSeparated<AllowsConstraintSyntax>();
4988
var
variables = _pool.AllocateSeparated<VariableDeclaratorSyntax>();
5377
var
args = _pool.AllocateSeparated<ArgumentSyntax>();
5547
var
tmpList = _pool.AllocateSeparated<BaseTypeSyntax>();
5879
var
types = _pool.AllocateSeparated<TypeSyntax>();
7543
var
list = _pool.AllocateSeparated<ExpressionSyntax>();
7605
var
list = _pool.AllocateSeparated<TupleElementSyntax>();
7698
var
missingTypes = _pool.AllocateSeparated<FunctionPointerParameterSyntax>();
7717
var
types = _pool.AllocateSeparated<FunctionPointerParameterSyntax>();
7802
var
callingConventionModifiers = _pool.AllocateSeparated<FunctionPointerUnmanagedCallingConventionSyntax>();
10059
var
variables = _pool.AllocateSeparated<VariableDeclaratorSyntax>();
10175
var
listOfDesignations = _pool.AllocateSeparated<VariableDesignationSyntax>();
10249
var
variables = _pool.AllocateSeparated<VariableDeclaratorSyntax>();
11972
var
list = _pool.AllocateSeparated<ArgumentSyntax>();
12373
var
list = _pool.AllocateSeparated<ArgumentSyntax>();
13750
var
list = _pool.AllocateSeparated<OrderingSyntax>();
13956
var
nodes = _pool.AllocateSeparated<TNode>();
Parser\LanguageParser_Patterns.cs (1)
582
var
arms = _pool.AllocateSeparated<SwitchExpressionArmSyntax>();