42 references to Add
Microsoft.CodeAnalysis.CSharp (42)
Parser\DirectiveParser.cs (1)
619
ids.
Add
(idExpression);
Parser\DocumentationCommentParser.cs (4)
1257
list.
Add
(ParseCrefParameter());
1380
list.
Add
(typeSyntax);
1543
dimensionList.
Add
(omittedArraySizeExpressionInstance);
1559
dimensionList.
Add
(omittedArraySizeExpressionInstance);
Parser\LanguageParser.cs (36)
2104
list.
Add
(this.CurrentToken.Kind == SyntaxKind.OpenParenToken
2120
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2139
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2190
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2195
bounds.
Add
(constraint);
2222
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2228
bounds.
Add
(constraint);
2327
bounds.
Add
(
5133
variables.
Add
(
5186
variables.
Add
(
5501
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5660
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6341
types.
Add
(omittedTypeArgumentInstance);
6345
types.
Add
(omittedTypeArgumentInstance);
6354
types.
Add
(this.ParseTypeArgument());
6393
types.
Add
(this.ParseTypeArgument());
7665
list.
Add
(omittedArraySizeExpressionInstance);
7672
list.
Add
(size);
7690
list.
Add
(omittedArraySizeExpressionInstance);
7717
list.
Add
(ParseTupleElement());
7722
list.
Add
(ParseTupleElement());
7730
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7735
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
7808
missingTypes.
Add
(missingType);
7835
types.
Add
(SyntaxFactory.FunctionPointerParameter(
7918
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10348
listOfDesignations.
Add
(ParseDesignation(forPattern));
10356
listOfDesignations.
Add
(ParseDesignation(forPattern));
12196
list.
Add
(this.ParseArgumentExpression(isIndexer));
12544
list.
Add
(firstArg);
12558
list.
Add
(argument);
12564
list.
Add
(_syntaxFactory.Argument(
13929
list.
Add
(this.ParseOrdering());
13941
list.
Add
(this.ParseOrdering());
14142
nodes.
Add
(node);
14182
nodes.
Add
(node);
Parser\LanguageParser_Patterns.cs (1)
621
arms.
Add
(switchExpressionCase);