33 references to Add
Microsoft.CodeAnalysis (6)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (2)
72
_builder!.
Add
(node);
78
_builder!.
Add
(separatorToken);
Syntax\InternalSyntax\SyntaxListBuilder.cs (3)
58
this.
Add
(item.GetSlot(i));
83
Add
(items[i]);
112
Add
(list[i]);
Syntax\InternalSyntax\SyntaxListBuilder`1.cs (1)
71
_builder.
Add
(node);
Microsoft.CodeAnalysis.CSharp (27)
Parser\DocumentationCommentParser.cs (2)
113
textTokens.
Add
(token);
194
textTokens.
Add
(this.EatToken());
Parser\LanguageParser.cs (20)
229
builder.
Add
(SyntaxFactory.BadToken(null, lexer.TextWindow.Text.ToString(), null));
1370
tokens.
Add
(scopedKeyword);
1470
tokens.
Add
(modTok);
2028
tokens.
Add
(token);
2070
tokens.
Add
(this.EatToken());
2170
list.
Add
(this.ParseTypeParameterConstraintClause());
3271
modifiers.
Add
(ConvertToKeyword(identifier));
4437
nodes.
Add
(token);
4463
nodes.
Add
(token);
4863
modifiers.
Add
(this.EatToken());
4872
modifiers.
Add
(scopedKeyword);
4877
modifiers.
Add
(this.EatToken());
4890
modifiers.
Add
(this.EatToken());
5584
modifiers.
Add
(this.EatToken(SyntaxKind.ConstKeyword));
9379
skippedTokens.
Add
(this.EatTokenWithPrejudice(SyntaxKind.CloseParenToken));
10170
mods.
Add
(scopedKeyword);
10489
list.
Add
(mod);
13232
commas.
Add
(this.EatToken());
13393
modifiers.
Add
(this.EatToken(SyntaxKind.StaticKeyword));
13400
modifiers.
Add
(this.EatContextualToken(SyntaxKind.AsyncKeyword));
Parser\Lexer.cs (1)
2220
list.
Add
(trivia);
Parser\SyntaxParser.cs (3)
952
builder.
Add
(token.GetLeadingTrivia());
971
builder.
Add
(SyntaxFactory.SkippedTokensTrivia(tk));
983
builder.
Add
(token.GetTrailingTrivia());
Syntax\InternalSyntax\CSharpSyntaxRewriter.cs (1)
58
alternate.
Add
(visited);