1 instantiation of SyntaxTriviaListBuilder
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTriviaListBuilder.cs (1)
23
return new
SyntaxTriviaListBuilder
(4);
12 references to SyntaxTriviaListBuilder
Microsoft.CodeAnalysis (12)
Syntax\SyntaxTriviaList.cs (7)
66
: this(default,
SyntaxTriviaListBuilder
.Create(trivias).Node, 0, 0)
291
private static readonly ObjectPool<
SyntaxTriviaListBuilder
> s_builderPool =
292
new ObjectPool<
SyntaxTriviaListBuilder
>(() =>
SyntaxTriviaListBuilder
.Create());
294
private static
SyntaxTriviaListBuilder
GetBuilder()
297
private static void ClearAndFreeBuilder(
SyntaxTriviaListBuilder
builder)
336
var
builder = GetBuilder();
Syntax\SyntaxTriviaListBuilder.cs (5)
21
public static
SyntaxTriviaListBuilder
Create()
33
var
builder =
SyntaxTriviaListBuilder
.Create();
72
public
SyntaxTriviaListBuilder
Add(SyntaxTrivia item)
128
public static implicit operator SyntaxTriviaList(
SyntaxTriviaListBuilder
builder)