42 references to Add
Microsoft.CodeAnalysis.CSharp (42)
Parser\DirectiveParser.cs (1)
620
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
(
5234
variables.
Add
(
5287
variables.
Add
(
5602
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5822
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6501
types.
Add
(omittedTypeArgumentInstance);
6505
types.
Add
(omittedTypeArgumentInstance);
6514
types.
Add
(this.ParseTypeArgument());
6553
types.
Add
(this.ParseTypeArgument());
7825
list.
Add
(omittedArraySizeExpressionInstance);
7832
list.
Add
(size);
7850
list.
Add
(omittedArraySizeExpressionInstance);
7877
list.
Add
(ParseTupleElement());
7882
list.
Add
(ParseTupleElement());
7890
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7895
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
7968
missingTypes.
Add
(missingType);
7995
types.
Add
(SyntaxFactory.FunctionPointerParameter(
8078
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10596
listOfDesignations.
Add
(ParseDesignation(forPattern));
10604
listOfDesignations.
Add
(ParseDesignation(forPattern));
12456
list.
Add
(this.ParseArgumentExpression(isIndexer));
12804
list.
Add
(firstArg);
12818
list.
Add
(argument);
12824
list.
Add
(_syntaxFactory.Argument(
14168
list.
Add
(this.ParseOrdering());
14180
list.
Add
(this.ParseOrdering());
14381
nodes.
Add
(node);
14421
nodes.
Add
(node);
Parser\LanguageParser_Patterns.cs (1)
644
arms.
Add
(switchExpressionCase);