4 instantiations of SyntaxListBuilder
Microsoft.CodeAnalysis (4)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (1)
17
: this(new
SyntaxListBuilder
(size))
Syntax\InternalSyntax\SyntaxListBuilder.cs (1)
23
return new
SyntaxListBuilder
(8);
Syntax\InternalSyntax\SyntaxListBuilder`1.cs (1)
14
: this(new
SyntaxListBuilder
(size))
Syntax\InternalSyntax\SyntaxListPool.cs (1)
36
item = new
SyntaxListBuilder
(10);
18 references to SyntaxListBuilder
Microsoft.CodeAnalysis (18)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (4)
14
private readonly
SyntaxListBuilder
? _builder;
26
internal SeparatedSyntaxListBuilder(
SyntaxListBuilder
builder)
118
internal
SyntaxListBuilder
? UnderlyingBuilder
128
public static implicit operator
SyntaxListBuilder
?(in SeparatedSyntaxListBuilder<TNode> builder)
Syntax\InternalSyntax\SyntaxListBuilder.cs (1)
21
public static
SyntaxListBuilder
Create()
Syntax\InternalSyntax\SyntaxListBuilder`1.cs (3)
11
private readonly
SyntaxListBuilder
_builder;
23
internal SyntaxListBuilder(
SyntaxListBuilder
builder)
105
public static implicit operator
SyntaxListBuilder
(SyntaxListBuilder<TNode> builder)
Syntax\InternalSyntax\SyntaxListBuilderExtensions.cs (2)
9
public static SyntaxList<GreenNode> ToList(this
SyntaxListBuilder
? builder)
14
public static SyntaxList<TNode> ToList<TNode>(this
SyntaxListBuilder
? builder) where TNode : GreenNode
Syntax\InternalSyntax\SyntaxListPool.cs (8)
14
private ArrayElement<
SyntaxListBuilder
?>[] _freeList = new ArrayElement<
SyntaxListBuilder
?>[10];
18
private readonly List<
SyntaxListBuilder
> _allocated = new List<
SyntaxListBuilder
>();
25
internal
SyntaxListBuilder
Allocate()
27
SyntaxListBuilder
item;
61
internal void Free(
SyntaxListBuilder
? item)
82
var tmp = new ArrayElement<
SyntaxListBuilder
?>[_freeList.Length * 2];